TransactionSEALED

╲▒○◆%▓□▒▫!%~!●$&$╳*◇^◆◇?◇#$$*█░#○%╳╲~◇%□#◆?◇□░◆╳@╱╱&█&%╳*#■$▫●▪&

Transaction ID

Timestamp

Nov 26, 2025, 01:34:51 AM UTC
3mo ago

Block Height

133,990,168

Computation

0

Execution Fee

0.00001674 FLOW

Transaction Summary

Contract Call

Called NonFungibleToken, FastBreakV1

Script Arguments

Cadence Script

1import NonFungibleToken from 0x1d7e57aa55817448
2import FastBreakV1 from 0x0b2a3299cc857e29
3
4transaction() {
5
6    let gameRef: auth(FastBreakV1.Play) &FastBreakV1.Player
7    let recipient: &{FastBreakV1.FastBreakNFTCollectionPublic}
8    let playerName: String
9    let fastBreakGameID: String
10    let topShotMomentIds: [UInt64]
11
12
13    prepare(acct: auth(Storage, Capabilities) &Account) {
14
15        self.playerName = "RockThatScoober"
16        self.fastBreakGameID = "6a46a046-db0f-4b48-9e2e-833431bc2b54"
17        self.topShotMomentIds = [952041,952041,31364270,31364270,656475,656475,25050559,25050559]
18
19        if acct.storage.borrow<&FastBreakV1.Collection>(from: FastBreakV1.CollectionStoragePath) == nil {
20
21            let collection <- FastBreakV1.createEmptyCollection(nftType: Type<@FastBreakV1.NFT>())
22            acct.storage.save(<-collection, to: FastBreakV1.CollectionStoragePath)
23            acct.capabilities.publish(
24                acct.capabilities.storage.issue<&FastBreakV1.Collection>(FastBreakV1.CollectionStoragePath),
25                at: FastBreakV1.CollectionPublicPath
26            )
27
28        }
29
30        if acct.storage.borrow<auth(FastBreakV1.Play) &FastBreakV1.Player>(from: FastBreakV1.PlayerStoragePath) == nil {
31
32            let player <- FastBreakV1.createPlayer(playerName: self.playerName)
33            acct.storage.save(<-player, to: FastBreakV1.PlayerStoragePath)
34        }
35
36        self.gameRef = acct.storage.borrow<auth(FastBreakV1.Play) &FastBreakV1.Player>(from: FastBreakV1.PlayerStoragePath)
37            ?? panic("could not copy a reference to the accounts player")
38
39
40        self.recipient = acct.capabilities.borrow<&{FastBreakV1.FastBreakNFTCollectionPublic}>(FastBreakV1.CollectionPublicPath)
41            ?? panic("could not borrow a reference to the collection receiver")
42
43    }
44
45    execute {
46        let nft <- self.gameRef.play(
47            fastBreakGameID: self.fastBreakGameID,
48            topShots: self.topShotMomentIds
49        )
50        self.recipient.deposit(token: <- (nft as @{NonFungibleToken.NFT}))
51    }
52}