Skip to main content
All cancel endpoints require L2 authentication. The response always includes canceled (list of cancelled order IDs) and not_canceled (map of order IDs to failure reasons).

Cancel a Single Order


Cancel Multiple Orders


Cancel All Orders

Cancel every open order across all markets:

Cancel by Market

Cancel all orders for a specific market, optionally filtered to a single token. Both market and asset_id are optional — omit both to cancel all orders.

Querying Orders

Get a Single Order

Get Open Orders

Retrieve all open orders, optionally filtered by market or token:

OpenOrder Object


Trade History

When an order is matched, it creates a trade. Trades progress through these statuses:
Additional filter parameters: id, maker_address, asset_id, before, after. The Rust SDK uses cursor-based pagination via the next_cursor parameter:

Trade Object

A single trade can be split across multiple onchain transactions due to gas limits. Use bucket_index and match_time to reconcile related transactions back to a single logical trade.

Order Scoring

Check if your resting orders are eligible for maker rebates scoring:

Next Steps

Order Attribution

Attribute orders to your builder account for volume credit

Fees

Understand fee structures and maker rebates