Skip to Content
Symmio Trading-SDK — the SDK surface for builders on HyperEVM
CoreTP/SLTpSlConditionalOrderMessage

TpSlConditionalOrderMessage

The create/edit conditional-order message body (pre-signature). Built by buildConditionalOrderMessage and signed by signTpSlRequest. A null leg means “no order on that side”; toSignableTpSlMessage pads any null with ZERO_LEG before hashing.

Fields

virtualAccountAddress

PartyA (the VA address) that owns the quote.

subAccountAddress

SubAccount that owns the VA.

saltstring

Random uint256 salt (decimal string) for replay protection.

quoteIdnumber | null

On-chain quote id (or tempQuoteId); null for a pre-chain order with no id yet.

symbolIdnumber

Solver market id.

positionType0 | 1

Quote direction — 0 = long, 1 = short.

affiliateAddress

Affiliate bound to the order.

The TP leg, or null.

The SL leg, or null.

sendQuotenull

Always null for a TP/SL message.

Last updated on