blockchain

Contract ABI Lookup

Verified EVM contract source and ABI across 6 chains, with EIP-1967 proxy detection. POST /v1/evm with a contract {address, chain_id} and get its verified source, ABI, and proxy resolution as one JSON object. Deterministic per upstream verification state. Pay per request in USDC; no account, no API key.

post/v1/contract-abi

Request

  • Base URL: https://agent.pocket.network
  • URL: https://agent.pocket.network/v1/contract-abi
  • Auth: none required

Request body

addressstring required

Contract address, 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 verified source, ABI, proxy resolution, 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.