Decode the event logs of an Ethereum transaction: ERC-20 Transfer events come back typed (from, to, raw value, contract); every other log is returned raw with its topics and data. Values are in base units. POST /v1/event with {tx_hash}. Pay per request in USDC; no account, no API key.
Endpoint
POST https://agent.pocket.network/v1/event-log-decoding/v1/event
Price per call
$0.005 USD
Networks payable on
Base (eip155:8453)
Protocol
rest
Calling it
The first call returns 402 Payment Required with the terms. Sign for those terms and retry the same request with the payment attached.
This service declares its response shape in prose rather than as fields, so there is nothing more specific to sample.
{}
Try it
Make one real paid call from your own wallet — about $0.005 on Base (eip155:8453). The wallet signs; nothing here holds a key. You'll see exactly what the service answers.
No browser wallet found. Install MetaMask, Rabby, or Coinbase Wallet to try a call here.
Supported methods
Methods the registry lists for this service. The portal forwards any call as sent; the supplier decides what it answers, and a delivered answer is settled.
Methods Event Log Decoding accepts, and whether each reads or writes.
Method
Effect
GET /v1/health
read
GET /v1/version
read
POST /v1/event
read
Schemas
Published by the service itself. The example above is generated from these.
Request schema
{
"type": "object",
"description": "The request body for POST /v1/event.",
"properties": {
"tx_hash": {
"type": "string",
"description": "0x-prefixed transaction hash."
},
"chain_id": {
"type": "integer",
"description": "EVM chain id (1 for Ethereum mainnet)."
}
},
"required": [
"tx_hash"
]
}
Response schema
{
"type": "object",
"description": "For POST /v1/event, a JSON object with tx_hash, chain_id, an `events` array (typed Transfer or raw) and count. The exact shape is the service's own and is not pinned here; errors return a JSON object with an `error` field."
}