Agentic Portal

Event Log Decoding

blockchain
Serving

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/log with {tx_hash}. Pay per request in USDC; no account, no API key.

Endpoint
POST https://agent.pocket.network/v1/event-log-decoding/v1/log
Price per call
$0.005 USD
Networks payable on
Base (eip155:8453), Tempo (eip155:4217)
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.

Example request

A real, working call — the request the service card verifies against.

curl -X POST https://agent.pocket.network/v1/event-log-decoding/v1/log \
  -H 'content-type: application/json' \
  -d '{"tx_hash":"0x0fe8c764aeb33454d741e7112ea7d6530c05a4349d8abc93a4e2d7d683c59dfd","chain_id":1}'
Example response

The response this call returned, captured 2026-09-30 22:24:36 UTC.

{
  "portal": {
    "provenance": "third-party-supplier",
    "serviceId": "event-log-decoding",
    "schemaCheck": "unchecked"
  },
  "data": {
    "tx_hash": "0x0fe8c764aeb33454d741e7112ea7d6530c05a4349d8abc93a4e2d7d683c59dfd",
    "chain_id": 1,
    "events": [
      {
        "type": "Transfer",
        "from": "0x4cd00e387622c35bddb9b4c962c136462338bc31",
        "to": "0xf70da97812cb96acdf810712aa562db8dfa3dbef",
        "value_raw": "1587575966",
        "contract": "0xdac17f958d2ee523a2206206994597c13d831ec7"
      },
      {
        "type": "raw",
        "contract": "0x4cd00e387622c35bddb9b4c962c136462338bc31",
        "topics": [
          "0x4be109453ef7e895dc7215c929fff9b76b51483d56a4d04548b4866e9aa7c5ea"
        ],
        "data": "0x737395b9eb718642bb5c28aeb44308211f79dc7004654c881c15dc14e8f00d6d0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a9059cbb000000000000000000000000f70da97812cb96acdf810712aa562db8dfa3dbef000000000000000000000000000000000000000000000000000000005ea07c9e00000000000000000000000000000000000000000000000000000000"
      }
    ],
    "count": 2,
    "source": "public-rpc",
    "service": "event-log-decoding"
  }
}

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.
MethodEffect
GET /v1/healthread
GET /v1/versionread
POST /v1/logread

Schemas

Published by the service itself. The example above is generated from these.

Request schema
{
  "type": "object",
  "description": "The request body for POST /v1/log.",
  "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/log, a JSON object with tx_hash, chain_id, an `events` array (typed Transfer or raw) and count. Errors return a JSON object with an `error` field. Properties are pinned from live paid responses; nothing is required, because every route's 2xx response is validated against this one schema.",
  "properties": {
    "tx_hash": {
      "type": "string"
    },
    "chain_id": {
      "type": "number"
    },
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "from": {
            "type": "string"
          },
          "to": {
            "type": "string"
          },
          "value_raw": {
            "type": "string"
          },
          "contract": {
            "type": "string"
          }
        }
      }
    },
    "count": {
      "type": "number"
    },
    "source": {
      "type": "string"
    },
    "service": {
      "type": "string"
    }
  }
}