One wallet's balance of one ERC-20 token on Base or Ethereum: exact integer raw ...
https://api.macaroonnetwork.com/execute/erc20-balance-v1Overview
One wallet's balance of one ERC-20 token on Base or Ethereum: exact integer raw amount, decimal string, decimals and symbol, all read at a single stated block. Rejects addresses that are not ERC-20 contracts instead of returning a misleading zero.
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
crypto/wallet
Provider
Macaroon Network
Source
bazaar
Indexed
2026-11-16 11:08:23
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
—
Asset Verified
—
Facilitator
—
Input Schema
{
"body": {
"input": {
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"wallet": "0x33cC8dE6e86761D217044a8a6B394aD23b579596"
},
"predicate": {
"conditions": [
{
"field": "$.chain_id",
"operator": "in",
"type": "field_changed",
"value": [
8453,
1
]
},
{
"field": "$.block_number",
"operator": "gte",
"type": "field_changed",
"value": 1
},
{
"field": "$.raw",
"type": "count_gte",
"value": 1
},
{
"field": "$.balance",
"type": "count_gte",
"value": 1
},
{
"field": "$.decimals",
"operator": "gte",
"type": "field_changed",
"value": 0
},
{
"duration_hours": 1,
"field": "$.retrieved_at",
"type": "within"
}
],
"type": "all"
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"payload": {
"balance": "",
"block_number": 0,
"chain": "",
"chain_id": 0,
"decimals": 0,
"provenance": {
"methods": "",
"rpc_host": "",
"runtime_outbound_network_used": false,
"source": ""
},
"raw": "",
"retrieved_at": "",
"symbol": null,
"token": "",
"wallet": ""
},
"predicate_passed": true,
"settled": true
},
"type": "json"
}