New answers tagged

3

NFTs are tokens. When you query token balances from these API's, you are getting a mixture of Fungible and non-Fungible tokens back. Users can have more than 1 of the same NFT, so they also have a balance (think of a trading card game where you can get duplicates). I'm not aware of any API that returns a dedicated list of NFTs versus fungible tokens. In ...


0

You will have to include those files in the token metadata. The specification can be found here. Metadata example


1

In case of errors, the FAILWITH instruction accepts almost any value (any value of a packable type to be precise) so it can be used directly to produce informative and structured errors. Regarding feedback on successful calls, this is what events are about. There is currently no builtin support for events in Tezos but they are easy to simulate (as contract ...


Top 50 recent answers are included