取消钱包订单
Cancels orders on the deposit wallet across all API keys, including orders from expired session signers.
Also served at /v1/gateway/cancel-wallet-orders.
Only the wallet owner can call this endpoint. Send L2 headers with POLY_ADDRESS
set to the owner EOA and the owner’s API key. Session signers receive 403 and must use
DELETE /order, DELETE /orders or DELETE /cancel-all, which only cancel orders
placed with their own API key.
Set exactly one of order_ids or all. Unknown orders, orders from another maker,
and already canceled orders are returned in not_canceled with the reason
order not found on the caller's deposit wallet.
Shares the cancel rate-limit bucket with DELETE /orders and DELETE /cancel-all.
With order_ids, each ID costs one token up front. With all, the request costs
one token up front and is then charged for the number of orders actually canceled.
Revoking a session signer immediately triggers the relayer to cancel its open orders.
After cancellation, canceling those IDs returns them in not_canceled.
Authorization and revocation changes can take up to about 5 seconds to appear here.
Production rollout: this route currently returns an nginx 404 page until load-balancer routing is enabled. The production feature flag must also be enabled. A disabled application endpoint returns a JSON 404 response instead.
授权
Your API key
Ethereum address associated with the API key
HMAC signature of the request
API key passphrase
Unix timestamp of the request
请求体
- Option 1
- Option 2
Set exactly one field. The server deduplicates order_ids.
1000^0x[a-fA-F0-9]{64}$