TransactionUNKNOWN
^?!▓▪╱#@▓$░●~◆▫╳╲░▪$^░◆█╲█^?$&○◆╲▫~█%*▪!■?●░#^○●^◆●░~○╳◆█▓▪○?#●#
Transaction ID
Transaction Summary
UpdatingTransaction
Script Arguments
Copy:
0linkString
https://livevct.com/token/9fc69fba-16be-40f2-b4cb-594e72c5a05d/1
1batchUInt32
42489667
2sequenceUInt16
1
3limitUInt16
1
4nameString
Avril Lavigne: The Greatest Hits | Aug 31 2024
5descriptionString
Live Nation Virtual Commemorative Ticket for Avril Lavigne: The Greatest Hits at Jiffy Lube Live, Bristow, VA on Saturday, August 31 2024
6thumbnailString
https://cdn.live-nfts.com/web/files/608177d6e9b6cc37f94f3ef8/b5deb65e-6763-4629-b284-9aced804078e-face.png
7editionNumberUInt64
0
8metadata{String:String}
{
"ARTIST_NAMES": "Avril Lavigne|Simple Plan|Girlfriends",
"SERIAL_NUMBER": "6BG6D5B",
"EVENT_TIME": "2024-08-31T23:00:00Z",
"TICKET_ROW": "K",
"TICKET_SEAT": "19",
"TICKET_SEC": "302",
"VENUE_LOCATION": "Bristow, Virginia",
"VENUE_NAME": "Jiffy Lube Live",
"VENUE_TIMEZONE": "America/New_York",
"NUMBER": "3326"
}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 }