@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / PlaceStopOrderResult

Interface: PlaceStopOrderResult

Defined in: packages/sdk/src/trade.ts:102

Trader.placeSpotStopOrder's result: the tx plus the registry id.

Extends

Properties

hash

hash: `0x${string}`

Defined in: packages/sdk/src/trade.ts:76

The transaction hash.

Inherited from

TxResult.hash


receipt

receipt: TransactionReceipt

Defined in: packages/sdk/src/trade.ts:78

The mined receipt (status, gas used, logs).

Inherited from

TxResult.receipt


stopOrderId?

optional stopOrderId?: bigint

Defined in: packages/sdk/src/trade.ts:108

The pending order's id on the registry (from PendingOrderCreated) — pass to Trader.cancelStopOrder. Undefined only if the event wasn't found in the receipt (an ABI/deployment drift, not a normal path).