Skip to main content
POST
Build a signable cancel for a stored partial TP/SL

Body

application/json
entityId
string
required

The stored order id the cancel is scoped to (a partial trigger entityId).

Minimum string length: 1

Response

Success envelope: ok is true and data carries the payload documented below.

ok
enum<boolean>
required

Always true on success.

Available options:
true
data
object
required

A ready-to-sign EIP-712 payload. Sign {domain, types, primaryType, message} with signTypedData (trader or a registered delegate, per signerRule) and hand the 65-byte r||s||v signature to the Avantis service that executes this intent kind.