TransactionSEALED
▓◇#■░$&░■@□@○&░◆╲◇░●▫●▓╲◆%&&●*#◆╱◇$$#╲░╲$╲╲$▪◇╱●&*○╳╲░╳#●~?^?○@?
Transaction ID
Execution Fee
0.00000404 FLOWScript Arguments
0recieverAddress
1tokenIDUInt64
238866887568004105
Cadence Script
1import TMNFT from 0xa8d1a60acba12a20
2 import NonFungibleToken from 0x1d7e57aa55817448
3 transaction(reciever: Address, tokenID: UInt64) {
4
5 let transferToken: @NonFungibleToken.NFT
6 prepare(acct: AuthAccount) {
7
8 let collectionRef = acct.borrow<&TMNFT.Collection>(from: TMNFT.CollectionStoragePath)
9 ?? panic("Could not borrow a reference to the owner's collection")
10
11 self.transferToken <- collectionRef.withdraw(withdrawID: tokenID)
12 }
13 execute {
14 let recipient = getAccount(reciever)
15 let receiverRef = recipient.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath)
16 .borrow()
17 ?? panic("Could not borrow receiver reference")
18
19 // Deposit the NFT in the receivers collection
20 receiverRef.deposit(token: <-self.transferToken)
21 log("NFT ID 1 transferred from account 2 to account 1")
22 }
23 }