TransactionSEALED
^!□╳●$??█╲█!◆~%%░╳░◆?▪▫╲○╲□╳●█▫■■▒◆%█*~╲■◆$░■◇?▒!&□@╱░!▫▒╳◆@█@◇◆
Transaction ID
Execution Fee
0.00001449 FLOWScript Arguments
Copy:
0recipientAddress
1speciesString
WALLEYE
2scientificString
SANDER_VITREUS
3lengthUFix64
22.50000000
4weightUFix64?
null
5timestampUFix64
1746360104.00000000
6speciesCodeString
SANDER_VITREUS
7hasReleaseBool
true
8bumpShotUrlString
https://example.com/bump.jpg
9heroShotUrlString
https://example.com/hero.jpg
10bumpHashString
placeholder_hash
11heroHashString
placeholder_hash
12releaseVideoUrlString?
null
13releaseHashString?
null
14longitudeFix64
-76.07590000
15latitudeFix64
43.22840000
16waterBodyString?
null
17waterTempUFix64?
null
18airTempUFix64?
null
19weatherString?
null
20moonPhaseString?
null
21tideString?
null
22barometricPressureUFix64?
null
23windSpeedUFix64?
null
24windDirectionString?
null
25skyConditionsString?
null
26waterDepthUFix64?
null
27structureTypeString?
null
28bottomTypeString?
null
29locationString?
null
30waterClarityString?
null
31currentStrengthString?
null
32gearString?
null
33baitLureString?
null
34fightDurationUFix64?
null
35techniqueString?
null
36girthUFix64?
null
37rodTypeString?
null
38reelTypeString?
null
39lineTypeString?
null
40leaderTypeString?
null
41hookTypeString?
null
42presentationString?
null
43retrieveSpeedString?
null
44catchDepthUFix64?
null
Cadence Script
1import FishNFT from 0x44100f14f70e3f78
2import NonFungibleToken from 0x1d7e57aa55817448
3
4transaction(
5 recipient: Address,
6 species: String,
7 scientific: String,
8 length: UFix64,
9 weight: UFix64?,
10 timestamp: UFix64,
11 speciesCode: String,
12 hasRelease: Bool,
13 bumpShotUrl: String,
14 heroShotUrl: String,
15 bumpHash: String,
16 heroHash: String,
17 releaseVideoUrl: String?,
18 releaseHash: String?,
19 longitude: Fix64,
20 latitude: Fix64,
21 waterBody: String?,
22 waterTemp: UFix64?,
23 airTemp: UFix64?,
24 weather: String?,
25 moonPhase: String?,
26 tide: String?,
27 barometricPressure: UFix64?,
28 windSpeed: UFix64?,
29 windDirection: String?,
30 skyConditions: String?,
31 waterDepth: UFix64?,
32 structureType: String?,
33 bottomType: String?,
34 location: String?,
35 waterClarity: String?,
36 currentStrength: String?,
37 gear: String?,
38 baitLure: String?,
39 fightDuration: UFix64?,
40 technique: String?,
41 girth: UFix64?,
42 rodType: String?,
43 reelType: String?,
44 lineType: String?,
45 leaderType: String?,
46 hookType: String?,
47 presentation: String?,
48 retrieveSpeed: String?,
49 catchDepth: UFix64?
50) {
51 prepare(acct: auth(Storage, Capabilities) &Account) {
52 let minter = acct.storage.borrow<&FishNFT.NFTMinter>(from: FishNFT.MinterStoragePath)
53 ?? panic("Could not borrow minter")
54 let nft <- minter.mintNFTWithSpeciesValidation(
55 recipient: recipient,
56 species: species,
57 scientific: scientific,
58 length: length,
59 weight: weight,
60 timestamp: timestamp,
61 speciesCode: speciesCode,
62 hasRelease: hasRelease,
63 bumpShotUrl: bumpShotUrl,
64 heroShotUrl: heroShotUrl,
65 bumpHash: bumpHash,
66 heroHash: heroHash,
67 releaseVideoUrl: releaseVideoUrl,
68 releaseHash: releaseHash,
69 longitude: longitude,
70 latitude: latitude,
71 waterBody: waterBody,
72 waterTemp: waterTemp,
73 airTemp: airTemp,
74 weather: weather,
75 moonPhase: moonPhase,
76 tide: tide,
77 barometricPressure: barometricPressure,
78 windSpeed: windSpeed,
79 windDirection: windDirection,
80 skyConditions: skyConditions,
81 waterDepth: waterDepth,
82 structureType: structureType,
83 bottomType: bottomType,
84 location: location,
85 waterClarity: waterClarity,
86 currentStrength: currentStrength,
87 gear: gear,
88 baitLure: baitLure,
89 fightDuration: fightDuration,
90 technique: technique,
91 girth: girth,
92 rodType: rodType,
93 reelType: reelType,
94 lineType: lineType,
95 leaderType: leaderType,
96 hookType: hookType,
97 presentation: presentation,
98 retrieveSpeed: retrieveSpeed,
99 catchDepth: catchDepth
100 )
101
102 let recipientCollection = getAccount(recipient)
103 .capabilities
104 .get<&{NonFungibleToken.CollectionPublic, NonFungibleToken.Receiver}>(FishNFT.CollectionPublicPath)
105 .borrow()
106 ?? panic("Could not borrow recipient collection")
107
108 recipientCollection.deposit(token: <-nft)
109 }
110}