default |
---|
minor |
Adds two new endpoints for querying V2 contracts
Returns a single V2 contract by its ID
Queries a list of contracts with optional filtering
Example request body
{
"statuses": [],
"contractIDs": [],
"renewedFrom": [],
"renewedTo": [],
"renterKey": [],
"minNegotiationHeight": 0,
"maxNegotiationHeight": 0,
"minExpirationHeight": 0,
"maxExpirationHeight": 0,
"limit": 0,
"offset": 0,
"sortField": "",
"sortDesc": false
}