# Ethereum Transaction ERC-20 Event Decoder

> Ethereum Transaction ERC-20 Event Decoder is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-18).

Fetches a confirmed Ethereum mainnet transaction receipt and returns decoded ERC-20 Transfer and Approval events from it.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/eth-tx-logs?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ethereum-transaction-erc-20-event-decoder-ad0384a6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZaH5bTCsvOTktb9921o6L

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 ethereum-transaction-erc-20-event-decoder-ad0384a6 -d '<json body>'
```

Example prompt: Can you pull the ERC-20 Transfer and Approval events from Ethereum transaction 0xabababababababababababababababababababababababababababababababababab and show me which tokens moved and what approvals were granted?

## When to prefer this

Use this endpoint when you specifically need decoded ERC-20 Transfer and Approval event logs from a single known Ethereum mainnet transaction hash. It is purpose-built for token-event extraction from a confirmed receipt, saving you the overhead of raw log decoding. Try the free sandbox endpoint (/v1/sandbox/eth-tx-logs) first to validate without spending USDC.

## Known failure modes

- Unknown transaction hash returns an error response
- Pending (unconfirmed) transactions return no events
- Malformed hash (not matching 0x + 64 hex chars) fails validation
- Payment not included or incorrect amount causes 402 rejection
- Network or RPC failures may cause transient errors

## How this service works

Call when an agent needs ERC-20 Transfer and Approval events from one Ethereum transaction receipt. Send hash. Pending receipts return no events. An unknown hash errors. Read-only. No spend. Send JSON {"hash":"0xabababababababababababababababababababababababababababababababab"}. Exact $0.003 USDC on Base. Try unpaid POST /v1/sandbox/eth-tx-logs first.

## Output

Returns the confirmed Ethereum transaction receipt along with a list of decoded ERC-20 Transfer events (from, to, value) and Approval events (owner, spender, value) emitted by the transaction. Pending transactions return no events; unknown hashes return an error.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hash": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{64}$",
   "examples": [
    "0xabababababababababababababababababababababababababababababababab"
   ],
   "description": "Ethereum 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/ethereum-transaction-erc-20-event-decoder-ad0384a6/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)
