GetCryptoTokenBalance

Retrieves the balance of a specific crypto token for a given wallet.

Client Authoritative (default)

Overloads

GetCryptoTokenBalance <string, string>

public static VyTask<VyCryptoTokenDto> GetCryptoTokenBalance(string walletId, string token)

Path Parameters

token

string

The symbol of the crypto token to retrieve the balance for.

Returns

VyTask<VyCryptoTokenDto> An asynchronous task that returns a VyCryptoTokenDto object representing the balance of the specified crypto token for the given wallet.

GetCryptoTokenBalance <eVyChain, string, string>

public static VyTask<VyCryptoTokenDto> GetCryptoTokenBalance(eVyChain chain, string walletAddress, string token)

Path Parameters

chain

The eVyChain on which the wallet is located.

walletAddress

string

The address of the wallet to retrieve the token balance from.

token

string

The token symbol of the token to retrieve the balance of.

Returns

VyTask<VyCryptoTokenDto> An asynchronous task that returns a VyCryptoTokenDto object representing the balance of the specified token in the specified wallet.

Last updated