Orders
This function retrieves open orders using the Limit Order SDK. It constructs a filter object based on specified parameters and queries the orders using the LimitOrder.getOrders()
method.
Example:
Filter Parameters
Parameter | Type | Description |
---|---|---|
|
| Wallet address |
|
| Maker asset |
|
| Taker asset |
|
| Maker amount |
|
| Taker amount |
|
| Order price |
|
| Page number (default: 1) |
|
| Page size (default: 10) |
Response:
Property | Type | Description |
---|---|---|
|
| Status of the response. |
|
| Status code of the response. |
|
| An array of |
Order Struct:
Property | Type | Description |
---|---|---|
|
| The address of the entity that created and signed the order. |
|
| The asset being offered by the maker in the trade. |
|
| The asset being requested by the maker from the taker. |
|
| The amount of the |
|
| The amount of the |
|
| The price at which the order is executed, typically derived from |
|
| The timestamp at which the order expires and is no longer valid. |
|
| Indicates whether a solver is used to settle the order. |
|
| Allows the order to be filled partially. |
|
| A unique identifier for the order, usually generated by hashing order details. |
|
| An array containing the digital signature(s) that validate the signer's consent to the order. |
|
| A unique number used once to ensure the order's uniqueness and prevent replay attacks. |
Last updated