GetNativeBalance

Retrieves the balance of a wallet in the native token.

Client Authoritative (default)

Overloads

GetNativeBalance <string>

public static VyTask<VyNativeTokenDto> GetNativeBalance(string walletId)

Path Parameters

Returns

VyTask<VyNativeTokenDto> A task that represents the asynchronous operation. The task result contains the balance of the wallet in the native token.

GetNativeBalance <eVyChain, string>

public static VyTask<VyNativeTokenDto> GetNativeBalance(eVyChain chain, string walletAddress)

Path Parameters

chain

The eVyChain on which the wallet address exists.

walletAddress

string

The wallet address for which the balance is being retrieved.

Returns

VyTask<VyNativeTokenDto> An asynchronous task that returns a VyNativeTokenDto object representing the balance of the specified wallet address.

Last updated