TransactionSEALED

╱~◆░??$╳█□&!▓■╱░░!&◆░%●●%□#▫□╲╳~╲◇@◇╳□◆▒◇&$??╳╳■&◆@*□╱$▪@■?~!^◇╳

Transaction ID

Timestamp

Dec 19, 2025, 04:06:20 AM UTC
2mo ago

Block Height

136,484,716

Computation

0

Execution Fee

0.00118 FLOW

Transaction Summary

Contract Call

Called NFL, NonFungibleToken, ViewResolver +1 more

Script Arguments

0recipientAddress
1withdrawIDUInt64
344788041351576037

Cadence Script

1import NFL from 0x8f3e345219de6fed
2                    import NonFungibleToken from 0x1d7e57aa55817448
3                    import ViewResolver from 0x1d7e57aa55817448
4                    import MetadataViews from 0x1d7e57aa55817448
5
6                    transaction(recipient: Address, withdrawID: UInt64) {
7
8                        // Reference to the withdrawer's collection
9                        let withdrawRef: auth(NonFungibleToken.Withdraw) &NFL.Collection
10
11                        // Reference of the collection to deposit the NFT to
12                        let receiverRef: &{NonFungibleToken.Receiver}
13
14                        prepare(signer: auth(BorrowValue) &Account) {
15
16                            // Borrow the NFT contract as a ViewResolver reference
17                            let viewResolver = getAccount(0x8f3e345219de6fed).contracts.borrow<&{ViewResolver}>(name: "NFL")
18                                ?? panic("Could not borrow ViewResolver of given name from address")
19
20                            // Resolve the NFT collection data from the NFT contract
21                            let collectionData = viewResolver.resolveContractView(resourceType: nil, viewType: Type<MetadataViews.NFTCollectionData>()) as! MetadataViews.NFTCollectionData?
22                                ?? panic("ViewResolver does not resolve NFTCollectionData view")
23
24                            // Borrow a reference to the signer's NFT collection
25                            self.withdrawRef = signer.storage.borrow<auth(NonFungibleToken.Withdraw) &NFL.Collection>(
26                                    from: collectionData.storagePath
27                                ) ?? panic("Account does not store an object at the specified path")
28
29                            // Get the recipient's public account object
30                            let recipient = getAccount(recipient)
31
32                            // Borrow a public reference to the receiver's collection
33                            let receiverCap = recipient.capabilities.get<&{NonFungibleToken.Receiver}>(collectionData.publicPath)
34
35                            self.receiverRef = receiverCap.borrow()
36                                ?? panic("Could not borrow reference to the recipient's receiver")
37
38                        }
39
40                        execute {
41
42                            // Withdraw the NFT from the sender's collection
43                            let nft <- self.withdrawRef.withdraw(withdrawID: withdrawID)
44                            
45                            // Deposit the NFT into the receiver's collection
46                            self.receiverRef.deposit(token: <-nft)
47
48                        }
49                    }