getTokenBalances

Fetch the token balances (ERC20 standard) for a specific wallet

This function returns the balance of all tokens currently supported by Venly. The list of supported tokens can be found on Github. Tokens need to be based on the ERC20 standard, this included for example ERC20, VIP180, TRC20, ...

venlyConnect.api.getTokenBalances("d91b644a-076f-44bf-ae90-29251df19784");

🧙 To add support in Venly for a certain token, simply submit a pull request.

Signature

venlyConnect.api.getTokenBalances(walletId: string): Promise<TokenBalance[]>

Returns

Promise<TokenBalance[]>

Parameters

Parameter

Required

Description

walletId

True

Wallet ID of the wallet you want to fetch the balance of

Example

venlyConnect.api.getTokenBalances("d91b644a-076f-44bf-ae90-29251df19784");

Object Types

pageTokenBalance

Last updated