Query contracts
Queries v1 contracts matching the provided filter and returns a paginated result.
Request body
Filter by contract statuses.
Filter by specific contract IDs.
Filter by the contract ID this contract was renewed from.
Filter by the contract ID this contract was renewed to.
Filter by renter public keys.
Minimum block height at which the contract was negotiated.
Maximum block height at which the contract was negotiated.
Minimum contract expiration block height.
Maximum contract expiration block height.
Maximum number of contracts to return per page. Defaults to 100.
Number of contracts to skip for pagination.
Field to sort results by. Valid values are "status", "negotiationHeight", "expirationHeight".
Sort in descending order when true.
Response
Contracts matching filter.
Total number of contracts matching the filter.
Contracts matching the filter for the current page.