getBalanceByAddress
Fetch the native balance of a wallet
This function returns all the wallets for the specified user (bearer token)
venlyConnect.api.getBalanceByAddress("MATIC", "0xA5dC4fb59eBCaf00100C00776b45c3E4b58c6B95");
venlyConnect.api.getBalanceByAddress(secretType: SecretType, walletAddress: string): Promise<WalletBalance>
Promise<WalletBalance>
Parameter | Required | Description |
secretType | True | Parameter to indicate on which chain the token balance should be fetched |
walletAddress | True | The address of the wallet to fetch balance for |
venlyConnect.api.getBalanceByAddress("MATIC", "0xA5dC4fb59eBCaf00100C00776b45c3E4b58c6B95");
Last modified 1yr ago