cURL
curl --request POST \ --url https://api.formo.so/v0/contracts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "address": "<string>", "chain": 123, "name": "<string>", "abi": "<string>", "events": [ { "anonymous": true, "inputs": [ {} ], "name": "<string>", "type": "<string>" } ], "start_block": 123 } '
{ "isSuccess": true, "data": { "name": "<string>", "chain": 123, "address": "<string>", "abi": "<string>", "events": [ { "anonymous": true, "inputs": [ {} ], "name": "<string>", "type": "<string>" } ], "start_block": 123 } }
Add a blockchain contract to monitor.
Workspace API key (e.g. formo_xxx). Create one in the Formo dashboard under Team Settings > API Keys.
formo_xxx
EVM contract address
Chain ID
JSON-stringified ABI
10
Show child attributes
Contract created