# Base Onchain Tools – Transaction Check

> Base Onchain Tools – Transaction Check is a paid API for AI agents from base-onchain-tools.dolerite.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Looks up a Base mainnet transaction by hash and returns its confirmation count and USDC transfer amount.

## Facts

- Endpoint: GET https://base-onchain-tools.dolerite.workers.dev/v1/base/tx-check?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-onchain-tools-transaction-check-0738ca3f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_o2pihxDBE9TjqPS_7vJbA

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability base-onchain-tools-transaction-check-0738ca3f
```

Example prompt: Can you check whether this Base mainnet transaction confirmed and how much USDC was transferred? The hash is 0x4e3a12f8c7b9d2a1e0f5c8b3a7d4e6f2c1b0a9e8d7c6b5a4f3e2d1c0b9a8f7e6.

## When to prefer this

Use this endpoint when you need a quick, pay-per-call read on a specific Base mainnet transaction — especially when confirming USDC payment settlement — without setting up an API key or negotiating rate limits. Prefer it over raw RPC calls when you want clean, reliable confirmation counts and USDC transfer amounts with built-in multi-provider failover and no charge on failure.

## Known failure modes

- Invalid or malformed transaction hash returns a 4xx error (not billed)
- Transaction not found on Base mainnet returns an error
- Upstream RPC provider outage triggers failover; if all five providers fail, the call errors out (not billed)
- Incomplete data from RPC is treated as a failure rather than returning zeros

## How this service works

Eleven read-only endpoints answering questions about Base mainnet that are tedious to assemble from raw RPC: what an unverified contract is actually able to do, whether a token transfer will revert and for what reason, what an arbitrary token is worth, and whether an address is safe to pay. Priced $0.001-$0.04 per call in USDC over x402. No account, no API key, no signup, no minimum, no rate limit to negotiate — the payTo address in the 402 response is the whole integration. Failed calls are not billed. The payment middleware cancels settlement on any 4xx or 5xx, so a malformed parameter or an upstream outage costs nothing. Answers are read live from Base mainnet at request time, with failover across five independent RPC providers. A batch that comes back incomplete is treated as a failure rather than returned with the missing entries as zeros, because a confident wrong answer costs a caller more than an error does. Scope is deliberately narrow: Base mainnet only, reads only, no keys held, nothing stored between requests.

## Output

Returns a JSON object with a status field ('success' or error), the number of confirmations the transaction has received, and the amount of USDC transferred in the transaction. Failed or incomplete lookups are returned as errors rather than partial data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "hash"
     ],
     "properties": {
      "hash": {
       "type": "string",
       "description": "Base mainnet transaction hash (0x-prefixed, 32 bytes)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "success",
  "confirmations": 12,
  "usdc_transferred": "2000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-onchain-tools-transaction-check-0738ca3f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from base-onchain-tools.dolerite.workers.dev](https://www.zero.xyz/host/base-onchain-tools.dolerite.workers.dev/llms.txt)
