getErc20TokenByWalletAddress

This endpoint gets the ERC20 token balance by Wallet `ID`, wallet address, and token address.

public getErc20TokenByWalletAddress(chain: VyChain, walletAddress: string, token: string, query?: VyQuery_GetErc20TokenByWalletAddress) : VyPromise<VyErc20TokenDto>

Parameters

chain

Parameter to indicate on which chain the token balances should be fetched

walletAddress

string

The address of the wallet to fetch token balances for

token

string

Address of the token (contract) to fetch the balance for

query (optional)

Query to filter the operation results

Returns

VyPromise<VyErc20TokenDto> The Erc20 Token Data

Last updated