getErc20TokenByWalletAddress
Description
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
walletAddress
string
The address of the wallet to fetch token balances for
token
string
Contract address of the token (contract) to fetch the balance for
Returns
VyPromise<VyErc20TokenDto> ERC20 token balance of wallet retrieved successfully.
Last updated