@somnia-chain/markets-sdk


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

Interface: ChainOrderRef

Defined in: packages/sdk/src/chainRef.ts:39

An order named together with its chain and pool. cancelOrder accepts one in place of a bare decimal order id.

Properties

chainId

chainId: number

Defined in: packages/sdk/src/chainRef.ts:41

Numeric chain id the order's pool lives on.


pool

pool: `0x${string}`

Defined in: packages/sdk/src/chainRef.ts:43

The pool the order rests on (lowercased or checksummed — compared case-insensitively).


id

id: string

Defined in: packages/sdk/src/chainRef.ts:45

On-chain order id, decimal string.