# Tollex Chain Get Receipt

> Tollex Chain Get Receipt is a paid API for AI agents from api.tollex.org, paid per call via x402, $0.0079/call, status unknown (last checked 2026-10-11).

Fetches and verifies an on-chain payment receipt for a given transaction hash, waiting for a specified number of confirmations before returning a signed receipt.

## Facts

- Endpoint: POST https://api.tollex.org/tools/chain_get_receipt?utm_source=zero.xyz
- Price: $0.0079/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tollex-chain-get-receipt-71f5e842
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_APB5trOq1fNzDC78snbzO

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 tollex-chain-get-receipt-71f5e842 -d '<json body>'
```

Example prompt: Check whether transaction 0x3a7f2c1d9e4b6a8f0c2e5d7b9a1f3c5e7d9b1a3f5c7e9d1b3a5f7c9e1d3b5a7f confirmed on-chain — wait for at least 3 confirmations and give me the signed receipt.

## When to prefer this

Use this endpoint when you need to programmatically verify that a specific on-chain USDC payment (on Base or USDG on Robinhood Chain) has settled with a given number of confirmations and require a signed receipt as cryptographic proof. Prefer this over generic blockchain explorers when you need a machine-readable signed receipt for reconciliation or policy enforcement within the Tollex agent payment ecosystem.

## Known failure modes

- Transaction hash not found on chain — returns error if hash does not exist or is malformed
- Insufficient confirmations within timeout — may return pending status if chain is slow
- Invalid hash format — returns validation error if hash does not match 0x + 64 hex chars pattern
- Network or RPC failure — upstream blockchain node unavailable
- Payment still unconfirmed — confirmations count not yet reached

## How this service works

Tollex lets software agents buy APIs and tools under rules you set: it finds a capability that fits, checks your policy before anything is signed, pays with x402 in USDC on Base or USDG on Robinhood Chain, reconciles uncertain payments and returns a signed receipt.

## Output

A signed receipt confirming the on-chain transaction identified by the provided hash, including confirmation status and payment details, returned after the requested number of block confirmations have been observed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hash": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{64}$"
  },
  "confirmations": {
   "type": "integer",
   "maximum": 1000,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": {
   "id": "chain_get_receipt",
   "version": "1.0.0",
   "provider": "tollex.robinhood-chain"
  },
  "result": {
   "logs": 2,
   "found": true,
   "status": "success",
   "gasUsed": "61021",
   "assurance": "parent_finalized",
   "blockHash": "0x7a3d7400b27830f4f91c2c16a082486d67c1befecaec2f53b33f1f35d5b62036",
   "canonical": true,
   "blockNumber": "83335219",
   "confirmations": 1200,
   "effectiveGasPrice": "10000000"
  },
  "evidence": [],
  "untrustedOutput": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tollex-chain-get-receipt-71f5e842/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tollex.org](https://www.zero.xyz/host/api.tollex.org/llms.txt)
