Api Endpoint

dev.workers.dolerite.base-onchain-tools/base-onchain-tools

ERC-20 allowance on Base: how much a spender may pull from an owner, whether it is an unlimited approval, the owner balance, and how much is actually spendable right now. Defaults to USDC.

Open interactive test console

Offering

Provider
base-onchain-tools.dolerite.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://base-onchain-tools.dolerite.workers.dev/v1/base/allowance
MIME type
Not provided
First seen
2026-10-16T03:02:07.735Z
Last seen
Tags
MCP, X402

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x9c9Fb14825ADcA7A3E539EDa354EAFd169D39e9b"
  }
]

Observed health

Status
Healthy
Latest latency
498 ms
Average latency
742 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "owner": {
          "type": "string",
          "description": "Token holder address"
        },
        "spender": {
          "type": "string",
          "description": "Address allowed to spend"
        },
        "token": {
          "type": "string",
          "description": "Optional ERC-20 contract, defaults to USDC on Base"
        }
      },
      "required": [
        "owner",
        "spender"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object"
    }
  },
  "required": [
    "type"
  ]
}