Skip to main content

contracts

Search and filter smart contracts with pagination.

Schema Definition

contracts(
first: Int = 10
after: Cursor
where: ContractFilter
orderBy: ContractOrderBy
orderDirection: OrderDirection
): ContractList!

Arguments

ArgumentTypeDescription
first
Int scalar
Maximum number of results to return (default: 10, max: 100).
after
Cursor scalar
Cursor for pagination. Pass the endCursor from a previous query to get the next page.
whereFilter criteria for contracts.
orderByField to sort results by.
orderDirectionSort direction (ascending or descending).

Return Type

TypeDescription
Paginated list of smart contracts.