@somnia-chain/markets-sdk / index / PlacePerpStopOrderResult
Interface: PlacePerpStopOrderResult
Defined in: packages/sdk/src/trade.ts:188
Trader.placePerpStopOrder's result: the tx plus the registry id(s).
Both ids come from PendingOrderCreated, because the function's return value is
unreadable from a receipt.
Extends
Other
hash
hash:
`0x${string}`
Defined in: packages/sdk/src/trade.ts:126
The transaction hash.
Inherited from
receipt
receipt:
TransactionReceipt
Defined in: packages/sdk/src/trade.ts:128
The mined receipt (status, gas used, logs).
Inherited from
executionTimeMicros?
optionalexecutionTimeMicros?:number
Defined in: packages/sdk/src/trade.ts:139
Node-side end-to-end time of the write in microseconds: from the node
receiving the send to its answer, which covers mempool, finality and
execution inside Somnia. Set when the node reports it with the receipt
(eth_sendRawTransactionSync and session sends on a current Somnia node,
or an executor that passes it through). Absent on an older node, on the
eth_sendRawTransaction fallback, and for a wallet-client send. For a
write with prerequisites (an approval first), it times the last
transaction only.
Inherited from
stopOrderId?
optionalstopOrderId?:bigint
Defined in: packages/sdk/src/trade.ts:194
The id of the leg described by the call's own top-level fields — pass to Trader.cancelPerpStopOrder. Undefined only if the event wasn't found in the receipt (an ABI/deployment drift, not a normal path).
trading
pairedStopOrderId?
optionalpairedStopOrderId?:bigint
Defined in: packages/sdk/src/trade.ts:200
The pair leg's id, when one was placed. Undefined for a single stop.