Using https://graphql.bitquery.io I’m requesting currency balances for particular addresses and I’m seeing the result for the gas token KLAY return negative balances. I’ve tried several address and they all seem to return negative KLAY balances.
To get the native token balance for any network, please use the balance endpoint instead of the balances.
An example for the same:
Through this, you can get the correct balance of the gas token KLAY for a particular address
I suggest to only use balances endpoint for other non native tokens.
For Native token balance ( klay, eth, bnb ) use the Balance endpoint
1 Like