Skip to content

getNativeBalance

getNativeBalance(options): Promise<bigint>

Defined in: sdks/agent/src/util/TransactionUtil.ts:270

Reads the native token balance (e.g. ETH on Base) for a given address from the blockchain.

GetNativeBalanceOptions

The query options including chain and wallet address

Promise<bigint>

The balance in the chain’s smallest native unit (wei) as a bigint