TransactionSEALED
╱&&╱*●▪▒▫&■▪?▓■#$╳╳█~$■█?~?▫*^╱▪◇■◇█$$#□◇▒$$*^&■$○^□○~*!◆*█▓@●░╲
Transaction ID
Execution Fee
0.00003598 FLOWScript Arguments
Copy:
Cadence Script
1import NonFungibleToken from 0x1d7e57aa55817448
2
3// this transaction transfers an NFT from one account to another.
4transaction() {
5 prepare(signerAcct: auth(BorrowValue) &Account) {
6 // get the recipients public account object
7 let recipientAcct = getAccount(0xad30230a193bbe86)
8
9 // borrow a reference to the signers NFT collection
10 let signerCollectionRef = signerAcct.storage.borrow<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider}>(from: /storage/doodles)
11 ?? panic("Could not borrow a reference to the owners collection")
12
13 // borrow a public reference to the receivers collection
14 let depositRef = recipientAcct.capabilities.borrow<&{NonFungibleToken.CollectionPublic}>(/public/doodles)!
15
16 // withdraw the NFT from the owners collection
17 let nft <- signerCollectionRef.withdraw(withdrawID: 1147881180)
18
19 // deposit the NFT in the recipients collection
20 depositRef.deposit(token: <-nft)
21 }
22}