Flow price: --
340bc886547242046649dd9e9eda52f0f2ba09b138d1f5e353124010d8ec8588

Transaction

Hash: 340bc886547242046649dd9e9eda52f0f2ba09b138d1f5e353124010d8ec8588
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: cannot find type in this scope: `FungibleToken`
  --> 340bc886547242046649dd9e9eda52f0f2ba09b138d1f5e353124010d8ec8588:28:46
   |
28 |     let providerCap = cap as! Capability<auth(FungibleToken.Withdraw) &{NonFungibleToken.Provider}>
   |                                               ^^^^^^^^^^^^^ not found in this scope

error: cannot access `withdraw`: function requires `Withdraw` authorization, but reference only has `FungibleToken` authorization
  --> 340bc886547242046649dd9e9eda52f0f2ba09b138d1f5e353124010d8ec8588:35:15
   |
35 |     let nft <- collectionRef.withdraw(tokenID: id)
   |                ^^^^^^^^^^^^^^^^^^^^^^

error: incorrect argument label
  --> 340bc886547242046649dd9e9eda52f0f2ba09b138d1f5e353124010d8ec8588:35:38
   |
35 |     let nft <- collectionRef.withdraw(tokenID: id)
   |                                       ^^^^^^^^ expected `withdrawID`, got `tokenID`


Hash:
340bc886547242046649dd9e9eda52f0f2ba09b138d1f5e353124010d8ec8588
Status:
ERROR
Block height:
26417968
Block id:
7b66029b36c02f19e75802983edc55b7635123679ecc81d141289b6eb1d0c3b3
Timestamp:
Thursday 8 August 2024 at 07:06:52 UTC
()
Proposer:
Authorizers:
Gas used:
0