API reference

add_contract

Add contract to the inventory.

MethodPOST
URI/add_contract
Content-Typeapplication/json

Parameters

nametypedescription
kindstrEither 'tezos' or 'evm' allowed
namestrContract name
typenamestrAlias for the contract script, optional
addressstrContract address, optional
code_hashstrContract code hash, optional

Response

statusdescription
200 OKContract added successfully
400 Bad RequestContract already exists or invalid parameters, see the response body for details
500 Internal Server ErrorSomething went wrong on the server

add_index

Add index from the template.

MethodPOST
URI/add_index
Content-Typeapplication/json

Parameters

nametypedescription
namestrIndex name
templatestrIndex template to use
valuesdictMapping of values to fill template with
first_levelintFirst level to start indexing from, optional
last_levelintLast level to index, optional

Response

statusdescription
200 OKIndex added successfully
400 Bad RequestIndex already exists or invalid parameters, see the response body for details
500 Internal Server ErrorSomething went wrong on the server

performance

Get various performance metrics.

MethodGET
URI/performance
Content-Typeapplication/json

Parameters

None

Response

statusdescription
200 OKJSON with performance metrics
500 Internal Server ErrorSomething went wrong on the server
Help and tips -> Join our Discord
Ideas or suggestions -> Issue Tracker
GraphQL IDE -> Open Playground