Skip to content
Fourohtwo

Decode the event logs of an Ethereum transaction

agent.pocket.network/v1/event-log-decoding

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.

BaseAnswering
POSThttps://agent.pocket.network/v1/event-log-decoding

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent.pocket.network/v1/event-log-decoding", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"chain_id":1,"tx_hash":"0x0fe8c764aeb33454d741e7112ea7d6530c05a4349d8abc93a4e2d7d683c59dfd"}),
});
console.log(await res.json());

Example input

{
  "chain_id": 1,
  "tx_hash": "0x0fe8c764aeb33454d741e7112ea7d6530c05a4349d8abc93a4e2d7d683c59dfd"
}

More from Pocket NetworkProvider status