Skip to main content
The balance endpoint returns the authenticated consumer’s USDC balance in USDC (6-decimal) units. The balance is read live from the Arc Mainnet ERC-20 USDC contract (0x3600000000000000000000000000000000000000) for the consumer’s wallet address — no cached or ledger value is involved.

Endpoint

Request

Headers

This is a browser route authenticated by the consumer_token cookie set at POST /api/consumer/session. The wallet address is resolved from the cookie’s JWT payload.

Response

boolean
true on success.
string
The consumer’s USDC balance formatted with 6 decimal places, as a decimal string (e.g. "125.750000").
string
The wallet address the balance was read for.

Examples

Success Response

Error Responses

Notes

The endpoint requires the ARC_USDC_ADDRESS and ARC_TESTNET_RPC environment variables to be configured server-side. If either is missing it returns HTTP 500 with "Arc RPC/USDC address not configured."
The balance reflects on-chain holdings at the wallet address from the consumer session. For Circle-managed consumer wallets this is the Circle-provisioned address; for external wallets it is the connected address. It is read in real time and will not include in-flight (unconfirmed) transfers.