# Base Transaction Receipt with Decoded ERC-20 Events

> Base Transaction Receipt with Decoded ERC-20 Events is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-21).

Fetches a Base mainnet transaction receipt and decodes any ERC-20 Transfer and Approval events, returning both raw and human-readable token amounts.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/base-tx-logs?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-transaction-receipt-with-decoded-erc-20-events-26df3d2e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cr4nyL80HGnCr9LLsGfuD

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-transaction-receipt-with-decoded-erc-20-events-26df3d2e -d '<json body>'
```

Example prompt: Can you pull the transaction receipt for Base mainnet tx hash 0xabababababababababababababababababababababababababababababababab and show me all the decoded ERC-20 Transfer and Approval events with human-readable token amounts?

## When to prefer this

Use this endpoint when you need a complete Base mainnet transaction receipt with automatically decoded ERC-20 Transfer and Approval events and human-readable amounts — without writing your own ABI-decoding logic. It is read-only, has no side effects, and is cheaper than a full node RPC call with manual log parsing. For testing without payment, use the sandbox endpoint /v1/sandbox/base-tx-logs first. Prefer this over generic RPC endpoints when ERC-20 event decoding and human-readable token amounts are the primary need.

## Known failure modes

- Missing hash field returns an error
- Invalid or malformed hash (not matching ^0x[0-9a-fA-F]{64}$) returns a validation error
- Transaction hash not found on Base mainnet returns an error
- Token contract does not expose decimals — human-readable amount may be absent
- Network or RPC timeout causes a transient failure
- Unpaid request to /v1/base-tx-logs (non-sandbox) returns 402 Payment Required

## How this service works

Call when an agent needs a Base transaction receipt with decoded ERC-20 Transfer and Approval events, raw and human amounts when decimals are readable. A missing hash errors. Read-only. No spend. Send JSON {"hash":"0xabababababababababababababababababababababababababababababababab"}. Exact $0.005 USDC on Base. Try unpaid POST /v1/sandbox/base-tx-logs first.

## Output

Returns the Base mainnet transaction receipt along with decoded ERC-20 Transfer and Approval events found in the logs. Each decoded event includes the raw token amount as a big integer and, when the token contract exposes decimals, a human-readable formatted amount. Missing or invalid hashes result in an error response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hash": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{64}$",
   "examples": [
    "0xabababababababababababababababababababababababababababababababab"
   ],
   "description": "Base mainnet transaction hash. Example: 0xabababababababababababababababababababababababababababababababab. Returns the receipt plus decoded ERC-20 Transfer and Approval events."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-transaction-receipt-with-decoded-erc-20-events-26df3d2e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
