getBalance

Fetch the native balance of a wallet.

This function returns all the wallets for the specified user (bearer token)

venlyConnect.api.getBalance("d91b644a-076f-44bf-ae90-29251df19784");

Signature:

venlyConnect.api.getBalance(walletId: string): Promise<WalletBalance>

Returns:

Promise<WalletBalance>

Parameters:

ParameterRequiredDescription
walletIdTrueWallet ID of the wallet you want to fetch the balance of

Example:

venlyConnect.api.getBalance("d91b644a-076f-44bf-ae90-29251df19784");

Object Types

๐Ÿ“˜