Skip to main content
POST
eth_getBalance
Arc API method that returns the balance of an account in wei. On Arc the native currency is USDC, which is what pays for gas, so this method returns the account’s spendable gas balance.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Arc’s native currency carries 18 decimals, not the 6 that the USDC ERC-20 token uses. Divide by 1018, or you will be out by a factor of 1012. See Arc tooling for the library helpers.

Parameters

  • address — the address to check the balance for
  • blockParameter — the block number in hexadecimal, or a tag: latest, earliest, safe, finalized, or pending

Response

  • result — the account balance in wei, encoded as hexadecimal
Divide the result by 1018 to get the balance in USDC. ethers.formatEther and web3.from_wei(..., "ether") both apply that conversion, so use them rather than the 6-decimal helpers you would reach for with the USDC ERC-20 token.

eth_getBalance code examples

web3.py rejects lowercase addresses with InvalidAddress. Wrap any address you did not get from the library itself in Web3.to_checksum_address().

Checking ERC-20 token balances

eth_getBalance only reports the native USDC gas balance. To read an ERC-20 token balance, call the token contract’s balanceOf function with eth_call and apply that token’s own decimals.

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:eth_getBalance
params
array

Response

200 - application/json

Returns the result of eth_getBalance.

jsonrpc
string
id
integer
result
string
Last modified on September 16, 2026