Skip to main content
The formo contracts command group manages smart contracts tracked by your project for decoding and event ingestion.

formo contracts list

List tracked contracts for the project.
Requires contracts:read scope on your API key.

Options


formo contracts get <chain> <address>

Get a tracked contract by chain ID and address.
Requires contracts:read scope on your API key.

formo contracts create

Register a new smart contract to track.
Requires contracts:write scope on your API key.

Options

Example

--abi is sent to the API as an ABI JSON string. --events is sent as an array of ABI event objects.

formo contracts update <chain> <address>

Update a tracked contract.
Requires contracts:write scope on your API key.

Options


formo contracts delete <chain> <address>

Remove a tracked contract.
Requires contracts:write scope on your API key.
Removing a tracked contract is permanent. Historical events already captured are not deleted, but new events will no longer be tracked.