{
  "x402Version": 2,
  "id": 2814,
  "slug": "2814",
  "resource": "https://app.heinrichstech.com/v1/cdp/chain/erc20-balance",
  "description": "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.",
  "type": "http",
  "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
    }
  ],
  "outputSchema": {
    "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"
      ]
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "app.heinrichstech.com",
  "lastUpdated": "2026-09-08T12:08:08.107Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-08T12:08:07.88Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "app.heinrichstech.com",
    "manifest_name": "app.heinrichstech.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}