Skip to main content
GET
/
v0
/
contracts
/
{chain}
/
{address}
Get contract
curl --request GET \
  --url https://api.formo.so/v0/contracts/{chain}/{address} \
  --header 'Authorization: Bearer <token>'
{ "name": "<string>", "chain": 123, "address": "<string>", "abi": "<string>", "events": [ { "anonymous": true, "inputs": [ {} ], "name": "<string>", "type": "<string>" } ], "start_block": 123 }

Authorizations

Authorization
string
header
required

Workspace API key (e.g. formo_xxx). Create one in the Formo dashboard under Team Settings > API Keys.

Path Parameters

chain
integer
required

EVM chain ID (e.g. 1 for Ethereum mainnet, 8453 for Base).

Required range: x >= 1
address
string
required

Contract address (0x-prefixed, 40 hex chars).

Pattern: ^0x[0-9a-fA-F]{40}$

Response

Contract found

name
string
required
chain
integer
required
address
string
required
abi
string
required
events
object[]
required
start_block
integer