RPChttps://rpc.vitruveo.ai
Chain ID1490
CurrencyVTRU
Protocol Smart Contract
Go To:
Address0x00000000000000000000000000000000000000bb
Gas100 + 30K/token

BatchBalance

Multi-Token ERC20 Balance Query

What It Does

Query ERC20 balances for multiple tokens in a single call. 100 tokens = 1 call instead of 100.

Why It Matters

Portfolio dashboards, DEX aggregators, and wallets need to query many token balances. This reduces RPC calls and improves UX.

Interface

Input:  owner(20) | token1(20) | token2(20) | ...
Output: uint256[] (ABI-encoded: offset | length | balance1 | balance2 | ...)

// Reverts on malformed input; a token whose balanceOf fails reads as 0