Skip to main content
1 vote

I want to transfer the tokens from one contract to another address

This is happening because both contracts have different parameter schema for the transfer entrypoint. Goto KT1LkNWZgVYh3zdaRkBb9aNgLEFCjVJwEKu2 TzKt, the arguments should be in the format: "...
Ojuswi Rastogi's user avatar
1 vote

I want to retrieve the balance of a smart contract that I own using my wallet address and the address of that smart contract, how can I do that?

You may access rpc package's getBalance function with tezosToolkit like below to get both balances. (async ()=> { try { const tezos = new TezosToolkit(ghostnet) let kt1 = await tezos.rpc....
Hui-An Yang's user avatar
1 vote
Accepted

I want to retrieve the balance of a smart contract that I own using my wallet address and the address of that smart contract, how can I do that?

You can get the token balance of your wallet using this TzKt API. In your case, you will need to add two query parameters. So, the API becomes: https://api.ghostnet.tzkt.io/v1/tokens/balances?account=...
Ojuswi Rastogi's user avatar
1 vote
Accepted

How to set Total Supply on TzKT?

I think what you need is a Semi-Fungible Token. FA2.Fa2Nft is not the correct class to use in this case. Try using FA2.Fa2Fungible. The reason is that TzKt understands the type of token by looking at ...
Ojuswi Rastogi's user avatar
1 vote

Url error in smartpy

You can use sp.io.import_template("fa2_lib.py").
Jordan_tez's user avatar
  • 1,065
1 vote
Accepted

Issue while generating NFT metadata

From what I see it's now working. It may take quite some time for IPFS nodes to synchronize and/or explorer to gather them. I suggest you to always test with tzcomet, that gives more info: https://...
Jordan_tez's user avatar
  • 1,065

Only top scored, non community-wiki answers of a minimum length are eligible