Skip to main content
The Pacifica Python SDK provides a comprehensive example on using this endpoint.

Request

FieldTypeNeedDescriptionExample
”id”Full UUID stringrequiredClient-defined request ID1bb2b72f-f545-4938-8a38-c5cda8823675
”params”objectrequiredContains action type and action parameters”cancel_all_orders"
"cancel_all_orders”objectrequiredSpecifies action type and contains parametersSee examples.
”account”stringrequiredUser’s wallet address42trU9A5…
“agent_wallet”stringoptionalAgent wallet address69trU9A5…
“signature”stringrequiredCryptographic signature5j1Vy9Uq…
“timestamp”integerrequiredCurrent timestamp in milliseconds1716200000000
”expiry_window”integeroptionalSignature expiry in milliseconds30000
”all_symbols”booleanrequiredWhether to cancel orders for all symbolstrue
”exclude_reduce_only”booleanrequiredWhether to exclude reduce-only ordersfalse
”symbol”stringrequired
(if “all_symbols” is false)
Trading pair symbolBTC
On error, the frame omits data and instead carries an err (string) field describing the failure, alongside the same id, type, code, t, and rl fields.