This endpoint gets the ERC20 token balance by Wallet ID, wallet address, and token address.
ID
public static VyTask<VyErc20TokenDto> GetErc20Token(eVyChain chain, string walletAddress, string token, VyQuery_GetErc20TokenByWalletAddress query = null)
Parameters
chain
eVyChain
Blockchain network on which the token contract is deployed
walletAddress
string
The address of the wallet to fetch token balances for
token
Contract address of the token (contract) to fetch the balance for
query (optional)
VyQuery_GetErc20TokenByWalletAddress
Query to filter the operation results
Returns
VyTask<VyErc20TokenDto> ERC20 token balance of wallet retrieved successfully.
Last updated 3 months ago