# Transaction Lookup

> Transaction Lookup is a paid API for AI agents from chain.tollkit.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Looks up on-chain transaction details by hash on Base, Ethereum, or Solana, paid per-call via x402 in USDC with no account required.

## Facts

- Endpoint: POST https://chain.tollkit.dev/chain/tx?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/transaction-lookup-db1bf949
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_77TaOKP8FbxA-CPdhN23G

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 transaction-lookup-db1bf949 -d '<json body>'
```

Example prompt: Can you look up the details of this Ethereum transaction for me: 0x4a7d3e8f2b1c9a056e7f8d3c2b1a0e9f8d7c6b5a4e3d2c1b0a9f8e7d6c5b4a3d2?

## When to prefer this

Use this endpoint when you need to fetch details of a specific transaction by hash on Base, Ethereum, or Solana without setting up an account or managing API keys — ideal for agents that need pay-as-you-go on-chain data access via x402. Prefer this over block explorer scraping or RPC node calls when you want a simple, structured JSON response for a single transaction lookup with per-call billing in USDC.

## Known failure modes

- Invalid transaction hash format returns a validation error
- Transaction hash not found on the specified chain returns a not-found error
- Wrong chain specified for a valid hash (e.g. Base hash queried on Ethereum) returns no result
- Network connectivity issues with the RPC provider cause timeout errors
- Payment failure via x402 prevents the call from executing
- Unconfirmed or pending transactions may return partial data

## How this service works

Wallet balances, tokens, transactions and prices on Base, Ethereum and Solana. Other Tollkit tools are described at: https://extract.tollkit.dev/openapi.json, https://attest.tollkit.dev/openapi.json, https://web.tollkit.dev/openapi.json, https://data.tollkit.dev/openapi.json.

## Output

Returns detailed on-chain transaction data for the specified hash or signature, including confirmation status, block number, sender and receiver addresses, value transferred, gas used, and other chain-specific transaction fields.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hash": {
   "type": "string",
   "pattern": "^(0x[0-9a-fA-F]{64}|[1-9A-HJ-NP-Za-km-z]{64,88})$",
   "description": "Transaction hash, or base58 signature on Solana."
  },
  "chain": {
   "enum": [
    "base",
    "ethereum",
    "solana"
   ],
   "type": "string",
   "default": "base",
   "description": "Which chain to read: \"base\" (default), \"ethereum\" or \"solana\"."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "from": "0xE74817F4cDC15844314812B2271276E64e890fAE",
  "hash": "0x066e2ba9d128c084503c093d79150d20860e141af309ebe8680b4509108522cc",
  "chain": "base",
  "status": "success",
  "fee_eth": "0.0000004787541",
  "gas_used": "86262",
  "method_id": "0xe3ee160e",
  "timestamp": "2026-10-02T01:02:41.000Z",
  "value_eth": "0",
  "value_wei": "0",
  "block_number": 52056807,
  "explorer_url": "https://basescan.org/tx/0x066e2ba9d128c084503c093d79150d20860e141af309ebe8680b4509108522cc",
  "token_transfers": [
   {
    "to": "0xBbfCE2D320dE6aB328Ba93A771c531ebFC9cE704",
    "from": "0xec2aBD3EDA89BeD90124736e317e847D5fb6d034",
    "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "0.01",
    "symbol": "USDC",
    "amount_raw": "10000"
   }
  ],
  "contract_created": null,
  "token_transfers_total": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/transaction-lookup-db1bf949/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chain.tollkit.dev](https://www.zero.xyz/host/chain.tollkit.dev/llms.txt)
