Order
Order - Cancel All
Cancel all orders
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Required parameters for canceling all orders
Blockchain network identifier
Available options:
solana
, ethereum
Example:
"solana"
DEX identifier
Available options:
raydium
, openbook
, jupiter
Example:
"openbook"
Market/Pool address
Example:
"58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2"
Wallet address owning the orders
Example:
"HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH"
Order side to cancel
Available options:
bid
, ask
Example:
"bid"
Maximum number of orders to cancel
Required range:
1 <= x <= 100
Example:
10
Priority fee in microLamports
Example:
"5000"
Response
200 - application/json
Base64 encoded transaction
Example:
"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRgYGpQEDAQIABQcICQoLDA0ODwAAAAAAAAAAAAAQERITFBUWFxgZGhscHR4fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
Was this page helpful?