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

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