Build
Frontend Tutorials
toolkit
Function.getbalances

Function.getbalances

@zetachain/toolkit / getBalances

getBalances(this, __namedParameters): Promise<TokenBalance[]>

Get token balances of all tokens on all chains connected to ZetaChain.

this: ZetaChainClient

ZetaChainClient instance.

__namedParameters

__namedParameters.btcAddress?: string

__namedParameters.evmAddress: string

Promise<TokenBalance[]>

getBalances.ts:54 (opens in a new tab)

Continue Learning

Continue with the next part or try a related tutorial

Feedback
How has your developer experience been?
Share your feedback and help improve it for everyone.