Skip to main content

Get contracts by trait

Retrieves a list of contracts based on the following traits listed in JSON format - functions, variables, maps, fungible tokens and non-fungible tokens

Query Parameters
trait_abi string REQUIRED

JSON abi of the trait.

limit integer

max number of contracts fetch

offset integer

index of first contract event to fetch

Example: 42000
Responses
200

List of contracts implement given trait

Schema OPTIONAL
limit integer

The number of contracts to return

offset integer

The number to contracts to skip (starting at 0)

results object[]
tx_id string
canonical boolean
contract_id string
block_height integer
source_code string
abi string