Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt

Use this file to discover all available pages before exploring further.

You can get the native balance in the active network of the wallet account by calling the getBalance function. If you wish to get token balances for a specific network, use getBalances. For balances across multiple chains, use getMultichainBalances instead.

Usage

import { getBalance } from '@dynamic-labs-sdk/client';

const { balance } = await getBalance({ walletAccount });
console.log(balance);