TransactionUNKNOWN
&▓╱▪^!╱╲#╱$*?@$^╱$~░@▓@█░░□▫&▓□╱░▒░!●▫$▪▪&▫?▫#!■╲◆$▒□░@▒░░□█□░▓@
Transaction ID
Transaction Summary
UpdatingTransaction
Script Arguments
Copy:
0linkString
https://livevct.com/token/c8e38958-c4ca-4853-a500-313fd65cff92/1
1batchUInt32
42876248
2sequenceUInt16
1
3limitUInt16
1
4nameString
Avril Lavigne: The Greatest Hits | Aug 23 2024
5descriptionString
Live Nation Virtual Commemorative Ticket for Avril Lavigne: The Greatest Hits at PNC Bank Arts Center, Holmdel, NJ on Friday, August 23 2024
6thumbnailString
https://cdn.live-nfts.com/web/files/608177d6e9b6cc37f94f3ef8/7dad970e-87fb-4736-a918-5b7ec9273ac1-face.png
7editionNumberUInt64
0
8metadata{String:String}
{
"ARTIST_NAMES": "Avril Lavigne|Simple Plan|Girlfriends",
"SERIAL_NUMBER": "B7D7EEB",
"EVENT_TIME": "2024-08-23T23:00:00Z",
"TICKET_ROW": "K",
"TICKET_SEAT": "152",
"TICKET_SEC": "403",
"VENUE_LOCATION": "Holmdel, New Jersey",
"VENUE_NAME": "PNC Bank Arts Center",
"VENUE_TIMEZONE": "America/New_York",
"NUMBER": "2301"
}Cadence Script
1import LNVCT from 0x1e3c78c6d580273b
2 import NonFungibleToken from 0x1d7e57aa55817448
3 transaction(link: String, batch: UInt32, sequence: UInt16, limit: UInt16, name:String, description:String,thumbnail:String,editionNumber: UInt64, metadata:{String:String}) {
4 let receiverRef: &{LNVCT.LNVCTCollectionPublic}
5 let minterRef: &LNVCT.NFTMinter
6
7 prepare(acct: AuthAccount) {
8 // Get the owner's collection capability and borrow a reference
9 self.receiverRef = acct.getCapability<&{LNVCT.LNVCTCollectionPublic}>(LNVCT.CollectionPublicPath)
10 .borrow()
11 ?? panic("Could not borrow receiver reference")
12 // Borrow a capability for the NFTMinter in storage
13 self.minterRef = acct.borrow<&LNVCT.NFTMinter>(from: LNVCT.MinterStoragePath)
14 ?? panic("could not borrow minter reference")
15 }
16 execute {
17
18 // Create a new NFT
19
20 let newNFT <- self.minterRef.mintNFT(glink: link, gbatch: batch, glimit: limit, gsequence: sequence,name:name, description: description, thumbnail:thumbnail, editionNumber: editionNumber, metadata:metadata)
21 self.receiverRef.deposit(token: <-newNFT)
22 log("NFT Minted and deposited to Account 2's Collection")
23 }
24 }