TransactionSEALED
○?▪~!?~░■▓█#╲~■*▫○╲□●█!▓▓~$╳╲^&╱*??!^○█◇○$▪#██□╱█^░◇$○╲╳●▓█□!!░░
Transaction ID
Execution Error
Error Code: 1007
error caused by: 1 error occurred:
Raw Error
[Error Code: 1007] error caused by: 1 error occurred: * checking sequence number failed: [Error Code: 1007] invalid proposal key: public key 2356 on account 1e3c78c6d580273b has sequence number 141931, but given 141930
Transaction Summary
TransactionScript Arguments
0linkString
https://livenation.live-nfts.com/token/66c40f1f-9492-4448-be77-269994e042d5/1
1batchUInt32
978533
2sequenceUInt16
1
3limitUInt16
1
4nameString
Imagine Dragons Mercury World Tour Live Stub
5descriptionString
Imagine Dragons at Moda Centre, Portland, OR on March 9, 2022
6thumbnailString
https://imgcdn.socialos.io/web/files/608177d6e9b6cc37f94f3ef8/c59d26f7-a065-4bc8-9dd1-72d9806dce34-face.png
7editionNumberUInt64
0
8metadata{String
{
"EVENT_FORMATTED_TIME": "Wed, Mar 09 2022 - 7:00 PM",
"TICKET_ROW": "K",
"TICKET_SEAT": "2",
"TICKET_SEC": "328",
"VENUE_CITY": "Portland",
"VENUE_NAME": "Moda Center"
}9addressAddress
Cadence Script
1import LNVCT from 0x1e3c78c6d580273b
2 import NonFungibleToken from 0x1d7e57aa55817448
3 import MetadataViews from 0x1d7e57aa55817448
4
5
6 transaction(link: String, batch: UInt32, sequence: UInt16, limit: UInt16, name:String, description:String,thumbnail:String,editionNumber: UInt64, metadata:{String:String},address:Address) {
7
8 /// local variable for storing the minter reference
9 let minter: &LNVCT.NFTMinter
10
11 /// Reference to the receiver's collection
12 let recipientCollectionRef: &{NonFungibleToken.Receiver}
13
14
15 prepare(signer: auth(BorrowValue) &Account) {
16
17 let collectionData = LNVCT.resolveContractView(resourceType: nil, viewType: Type<MetadataViews.NFTCollectionData>()) as! MetadataViews.NFTCollectionData?
18 ?? panic("ViewResolver does not resolve NFTCollectionData view")
19
20 // borrow a reference to the NFTMinter resource in storage
21 self.minter = signer.storage.borrow<&LNVCT.NFTMinter>(from: LNVCT.MinterStoragePath)
22 ?? panic("Account does not store an object at the specified path")
23 //let recipient = getAccount(address)
24
25 let recipient = address
26
27 // Borrow the recipient's public NFT collection reference
28 var cap = (getAccount(recipient).capabilities.borrow<&AnyResource>(
29 collectionData.publicPath) ?? panic("Could not get receiver reference to the NFT Collection"))
30 self.recipientCollectionRef = cap as! &{NonFungibleToken.Receiver}
31
32 }
33 execute {
34
35 // Create a new NFT
36 let newNFT <- self.minter.mintNFT(glink: link, gbatch: batch, glimit: limit, gsequence: sequence,name:name, description: description, thumbnail:thumbnail, editionNumber: editionNumber, metadata:metadata)
37
38 self.recipientCollectionRef.deposit(token: <- newNFT)
39
40 }
41 }