2023-05-17

How get the confirmed balance of TRC20

I am trying to get the confirmed balance of TRC20 from an address but it seems that in TRON it is not the same as in Ethereum.

In Ethereum for example I can get the balance passing to the getBalance() the param block number or just 'latest' but in Tron it not exists or is ignored.

trc20Contract.methods.balanceOf(address).call('latest')

There is any way to do it?



No comments:

Post a Comment