Cancel Order

Generates an unsigned limit-order cancellation message, which must be signed using the Blockdaemon SDK for final on-chain execution. This endpoint provides EIP-712 domain data, type definitions, and a structured message (chain ID, maker address, and order IDs) to securely cancel pending orders on the decentralized exchange.

💡

Compute Unit Value: 15 (Fixed)

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The request body for a /defi/v1/dex/cancelorder

The request body for a /defi/v1/dex/cancelorder

string
enum

The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more here.

Allowed:
orderId
array of strings
required

An array containing the Order ID(s) of the limit orders to be canceled.

orderId*
string
required

The public address of the user requesting the cancellation.

boolean

Flag to include a basis points fee transaction alongside the main transaction when set to true.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json