getBalance
Fetch the native balance of a wallet
This function returns all the wallets for the specified user (bearer token)
1
venlyConnect.api.getBalance("d91b644a-076f-44bf-ae90-29251df19784");
Copied!

Signature

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

Returns

1
Promise<WalletBalance>
Copied!

Parameters

Parameter
Required
Description
​walletId​
True
Wallet ID of the wallet you want to fetch the balance of

Example

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

Object Types

Last modified 2mo ago