Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man wallet-current-balance

/wallet-current-balance

agentutility / edge-market / wallet-current-balance
PRICE / CALL
$0.002
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
edgemarket
CATEGORY
uncategorized
STATUS
live
NAME
wallet-current-balance wallet current balance api / erc-20 wallet balance / treasury balance check
synonym alias of erc20-balance — reuses the canonical handler.
SYNOPSIS
POST https://x402.agentutility.ai/wallet-current-balance
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Wallet current balance API / ERC-20 wallet balance / treasury balance check. Same read-only public-RPC backend as erc20-balance, listed under wallet wording for agents reconciling payment wallets, treasuries, and token holdings.

INPUTrequest schema
propertytypedescriptionreq?
tokenstringERC-20 contract address (0x...).required
walletstringWallet address to query (0x...).required
chainanyChain id or slug. Default 'base'; also ethereum, arbitrum, optimism, polygon, bsc, avalanche.optional
blockany'latest' default, or hex/decimal block number.optional
OUTPUTresponse shape
fieldtypedescription
chainstring
tokenstring
walletstring
balancestring
decimalsstring
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/wallet-current-balance \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the wallet-current-balance tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
edge-marketwalletcurrentbalancewallet-current-balance
methods
POST
cluster
edgemarket
price
$0.002 USDC per call
ADJACENTother endpoints in edgemarket
endpointdescriptionprice
current-balanceCurrent balance API / wallet current balance / token balance lookup.$0.002
erc20-balanceERC-20 balance reader / balanceOf / on-chain token balance / wallet balance lookup / multi-chain ERC20 balance / read Base / read Ethereu…$0.002
erc20-metadataERC-20 metadata reader / token info / token symbol lookup / token decimals / total supply / multi-chain ERC20 reader / Base / Ethereum /…$0.002
funding-ratesPerp funding rates / Binance USD-M futures funding / next-funding-time / 24h history / perp basis.$0.002
token-balanceToken balance API / ERC-20 balanceOf reader / on-chain token holdings lookup.$0.002
hyperliquid-marketHyperliquid market API / Hyperliquid market data / perps mark price / crypto futures market lookup.$0.001
safe-tx-decodeGnosis Safe execTransaction decoder.$0.003
agent-card-resolveAgent card resolver / ERC-8004 Identity Registry lookup / Trustless Agents / agentId → owner + agentURI / A2A identity / agent.json fetch…$0.005
SEE ALSO
agentutility · edgemarket · x402 · mcp · llms.txt · registry.json · bazaar.x402.org