Get all limit orders with cursor pagination
Retrieves all limit orders with cursor-based pagination. Supports dynamic sorting by different fields.
Supported on: Ethereum Base BNB Chain Linea Sonic Unichain Arbitrum Avalanche ZKsync Gnosis Optimism Polygon
Parameters
chain
* number path limit
integer queryNumber of limit orders to receive (default: 100, max: 500)
statuses
string queryA comma-separated list of statuses by which limit orders will be filtered. Valid statuses include: 1 - Valid orders, 2 - Temporarily invalid orders, 3 - Invalid orders.
sortBy
string (Enum)queryField to sort by (determines cursor fields)
makerAsset
string queryAddress of the maker asset
takerAsset
string queryAddress of the taker asset
cursor
string querybase64 representation of the cursor
Request Body
This request doesn’t have any request body.
JavaScript
Copy
1
Returns
200
400
meta
* any Cursor pagination metadata
allOf[0]
CursorMeta object hasMore
* boolean Whether there are more items available
nextCursor
string Next cursor for pagination
count
number Total count of items (if available)
items
* array Array of limit orders
items
GetAllLimitOrdersV4Response object orderHash
* string Hash of the limit order typed data
signature
* string Signature of the limit order typed data (using signTypedData_v4)
createDateTime
* string The date and time of order creation
remainingMakerAmount
* string The remaining amount for the maker
makerBalance
* string The balance of the maker
makerAllowance
* string The allowance granted to the maker
data
* any Limit order data
allOf[0]
LimitOrderV4Data object makerAsset
* string Address of the maker asset
takerAsset
* string Address of the taker asset
maker
* string An address of the maker (wallet or contract address)
receiver
string An address of the wallet or contract who will receive filled amount (equals to Zero address for receiver == makerAddress)
makingAmount
* string Order maker's token amount
takingAmount
* string Order taker's token amount
salt
* string Some unique value. It is necessary to be able to create limit orders with the same parameters (so that they have a different hash), Lowest 160 bits of the order salt must be equal to the lowest 160 bits of the extension hash
extension
string An interaction call data. ABI encoded set of makerAssetSuffix, takerAssetSuffix, makingAmountGetter, takingAmountGetter, predicate, permit, preInteraction, postInteraction.If extension exists then lowest 160 bits of the order salt must be equal to the lowest 160 bits of the extension hash
makerTraits
string Includes some flags like, allow multiple fills, is partial fill allowed or not, price improvement, nonce, deadline etc
JSON
Copy
1