TransactionUNKNOWN
▫!╱░▪◇~▒?▫&$&!░@◆◇╱╱╳▓□░%▒▪#█$▫^▓▫▒░●□○*!▒╲^▪^╱▒◇◆?░$@▓╳▪●?░●#^╳
Transaction ID
Transaction Summary
UpdatingTransaction
Script Arguments
Copy:
0linkString
https://livevct.com/token/9ec24406-a208-465e-a0d1-2ab7e8d8368f/1
1batchUInt32
42868887
2sequenceUInt16
1
3limitUInt16
1
4nameString
Avril Lavigne: The Greatest Hits | Sep 07 2024
5descriptionString
Live Nation Virtual Commemorative Ticket for Avril Lavigne: The Greatest Hits at Pine Knob Music Theatre, Clarkston, MI on Saturday, September 7 2024
6thumbnailString
https://cdn.live-nfts.com/web/files/608177d6e9b6cc37f94f3ef8/19c59db7-318a-4bb7-8c52-4f3da3c71d99-face.png
7editionNumberUInt64
0
8metadata{String:String}
{
"ARTIST_NAMES": "Avril Lavigne|Simple Plan|Girlfriends",
"SERIAL_NUMBER": "B045G0B",
"EVENT_TIME": "2024-09-07T23:00:00Z",
"TICKET_ROW": "EE",
"TICKET_SEAT": "44",
"TICKET_SEC": "LT6",
"VENUE_LOCATION": "Clarkston, Michigan",
"VENUE_NAME": "Pine Knob Music Theatre",
"VENUE_TIMEZONE": "America/New_York",
"NUMBER": "2257"
}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 }