# Base Mainnet Transaction Details by Hash

> Base Mainnet Transaction Details by Hash is a paid API for AI agents from x402-data-api.sigrunner.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-16).

Returns on-chain transaction details for a given transaction hash on Base mainnet.

## Facts

- Endpoint: GET https://x402-data-api.sigrunner.workers.dev/chain/tx
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-mainnet-transaction-details-by-hash-201241c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BiNY2ndLk-cVza6Q4UTro

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-mainnet-transaction-details-by-hash-201241c4
```

Example prompt: Can you pull up the full transaction details for this Base mainnet tx hash: 0x4f3c9a1b2e8d7f6a0c5b4e3d2a1f9c8b7e6d5a4c3b2a1f0e9d8c7b6a5f4e3d2?

## When to prefer this

Use this endpoint when you need raw transaction details (sender, recipient, value, calldata, gas, nonce) for a specific tx hash on Base mainnet. For post-execution status, logs, and gas cost breakdown, prefer the transaction receipt endpoint on the same service.

## Known failure modes

- Invalid or malformed transaction hash returns an error
- Transaction hash not found on Base mainnet (wrong network or nonexistent) returns null or 404
- Missing required 'hash' query parameter causes a bad request error
- Rate limiting or payment failure (x402) blocks the request

## How this service works

Transaction details by hash on Base mainnet.

## Output

Returns structured transaction data for the given hash on Base mainnet, including sender (from), recipient (to), ETH value transferred, gas limit, gas price, nonce, input calldata, block number, and transaction index.

## 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",
     "properties": {
      "hash": {
       "type": "string",
       "description": "0x-prefixed 32-byte transaction hash"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "0x6211a3742cf9d3b6677ecc7fd9dd102ab101d8e2",
  "gas": "5000000",
  "from": "0xd80217bd14c4d4a4fe37bb1354be1830ed815a60",
  "hash": "0x571284385ad512a3ffc984a6c2f335113ada217215b6296847944f9d0bc613ef",
  "nonce": "6937",
  "value": "0",
  "gasPrice": "322017256",
  "blockNumber": "48747709"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-mainnet-transaction-details-by-hash-201241c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-api.sigrunner.workers.dev](https://www.zero.xyz/host/x402-data-api.sigrunner.workers.dev/llms.txt)
