blockchain

Transaction Decoding

Decodes raw EVM transactions and calldata into agent-readable intent: function signature, decoded arguments, and ERC-20 transfers. POST /v1/evm with {tx_hash, chain_id} and get one JSON object back. Fully deterministic: input determines output. Pay per request in USDC; no account, no API key.

post/v1/tx-decoding

Request

  • Base URL: https://agent.pocket.network
  • URL: https://agent.pocket.network/v1/tx-decoding
  • Auth: none required

Request body

tx_hashstring required

The transaction hash, 0x-prefixed.

chain_idinteger

EVM chain id (default 1).

Response

The upstream response, served after payment settles.

object required

For POST /v1/evm, a JSON object with the decoded function signature, arguments, ERC-20 transfers, and the chain_id. The exact shape is the service's own and is not pinned here; errors return a JSON object with an error field, and the GET routes return their own small JSON documents.

Changes

No recorded changes to this operation across all 1 revision of this API.