NFTSEALED

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

Transaction ID

Timestamp

Aug 13, 2024, 10:27:57 PM UTC
1y ago

Block Height

84,493,961

Computation

0

Execution Fee

0.00000484 FLOW$0.000003

Transaction Summary

NFT

Called LNVCT, NonFungibleToken

Script Arguments

0recieverAddress
1tokenIDUInt64
217251188272332801

Cadence Script

1import LNVCT from 0x1e3c78c6d580273b
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<&LNVCT.Collection>(from: LNVCT.CollectionStoragePath)
9                            ?? panic("Could not borrow a reference to the owner's collection")
10                    
11                        
12                        self.transferToken <- collectionRef.withdraw(withdrawID: tokenID)
13                    }
14                    execute {
15                        let recipient = getAccount(reciever)
16                        let receiverRef = recipient.getCapability<&{LNVCT.LNVCTCollectionPublic}>(LNVCT.CollectionPublicPath)
17                            .borrow()
18                            ?? panic("Could not borrow receiver reference")
19
20                        // Deposit the NFT in the receivers collection
21                        receiverRef.deposit(token: <-self.transferToken)
22                        
23                    }
24                }