v1

latestOpenAPI 3.0.02026-07-2471143147.5 KB
Orders

Cancel order

Cancel resting order via RISExUniversalRouter. Client signs permit.

Signature: 64-byte EIP-2098 compact (r + yParityAndS) or 65-byte (r+s+v, auto-converted).

post/v1/orders/cancel

Request body

market_idinteger

Market ID (uint16)

order_idstring

Composite OrderID (hex 0x...)

Example request

{
  "order_id": "0x000000380000000900000000000000640000000000000000",
  "permit": {
    "account": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
    "signer": "0x1234567890123456789012345678901234567890",
    "nonce_anchor": "0"
  }
}

Response

A successful response.

tx_hashstring
block_numberstring uint64
successboolean

true if receipt.Status == 1