ERC-20 token balance for any wallet — USDC, USDT, DAI, or any token contract — via balance
ERC-20 token balance for any wallet — USDC, USDT, DAI, or any token contract — via balanceOf eth_call, with decimals applied. Ethereum or Base mainnet. Pay 0.003 USDC.
3000 (raw units)
price
2
calls / 30d
2
unique payers
2026-09-08
updated
Provider
app.heinrichstech.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xDa2F35d283c42dd60B965322394bc658a5c1769F",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "3000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "xrpl:0",
"payTo": "rfryheo6yzFdLWj8qUQtZc7zG9MKkBkUEy",
"asset": "XRP",
"amount": "3000",
"maxTimeoutSeconds": 600
},
{
"scheme": "exact",
"network": "xrpl:0",
"payTo": "rfryheo6yzFdLWj8qUQtZc7zG9MKkBkUEy",
"asset": "524C555344000000000000000000000000000000",
"amount": "0.003000",
"maxTimeoutSeconds": 600
},
{
"scheme": "exact",
"network": "xrpl:0",
"payTo": "rfryheo6yzFdLWj8qUQtZc7zG9MKkBkUEy",
"asset": "5553444300000000000000000000000000000000",
"amount": "0.003000",
"maxTimeoutSeconds": 600
},
{
"scheme": "exact",
"network": "stellar:pubnet",
"payTo": "GCB5WZT5VCBBATGMQMTB6TLUXD6KQC6N5ITRWK3CCP4J3YOCE45FA2GO",
"asset": "XLM",
"amount": "3000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "stellar:pubnet",
"payTo": "GCB5WZT5VCBBATGMQMTB6TLUXD6KQC6N5ITRWK3CCP4J3YOCE45FA2GO",
"asset": "USDC",
"amount": "3000",
"maxTimeoutSeconds": 300
},
{
"scheme": "onchain",
"network": "eip155:8453",
"payTo": "0xDa2F35d283c42dd60B965322394bc658a5c1769F",
"asset": "0x88Fb150BDc53A65fe94Dea0c9BA0a6dAf8C6e196",
"amount": "100000000000000",
"maxTimeoutSeconds": 300
},
{
"scheme": "onchain",
"network": "eip155:1440000",
"payTo": "0xDa2F35d283c42dd60B965322394bc658a5c1769F",
"asset": "XRP",
"amount": "400000000000000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"category": "data",
"discoverable": true,
"info": {
"input": {
"body": {
"address": "0x… holder",
"chain": "ethereum | base",
"token": "0x… ERC-20 contract"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"chain": "base",
"ok": true,
"op": "erc20-balance"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"address": {
"description": "0x… holder",
"type": "string"
},
"chain": {
"description": "ethereum | base",
"type": "string"
},
"token": {
"description": "0x… ERC-20 contract",
"type": "string"
}
}
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
},
"tags": [
"chain",
"evm",
"base",
"ethereum",
"erc20-balance"
]
}
}Use it
curl
curl "https://app.heinrichstech.com/v1/cdp/chain/erc20-balance" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://app.heinrichstech.com/v1/cdp/chain/erc20-balance");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://app.heinrichstech.com/v1/cdp/chain/erc20-balance")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/2814.json, and this resource appears in /discovery/resources and /discovery/search.