@somnia-chain/markets-sdk


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

Interface: PoolMarketBinding

Defined in: packages/sdk/src/markets.ts:2117

The chain-only binding between a binary pool and the market it currently hosts. Read it with client.getPoolMarketBinding(pool).

Properties

pool

pool: `0x${string}`

Defined in: packages/sdk/src/markets.ts:2119

The pool the binding was read for, echoed back exactly as supplied.


marketId

marketId: `0x${string}`

Defined in: packages/sdk/src/markets.ts:2121

The module id of the market this pool currently hosts (bytes32 hex).


marketAddress

marketAddress: `0x${string}`

Defined in: packages/sdk/src/markets.ts:2123

The BinaryMarket contract address the pool points at.


nonce

nonce: bigint

Defined in: packages/sdk/src/markets.ts:2129

The pool's market nonce at the read block. (pool, nonce) identifies this market's slice of the pool's history: the nonce increments on every recycle, so a caller holding an older nonce holds a stale binding.


finalized

finalized: boolean

Defined in: packages/sdk/src/markets.ts:2136

True once the market's backing and resolution snapshot were swept to the settlement singleton. It does NOT mean the pool was released: a finalized pool can still hold resting orders, and it stays bound to its last market until the next recycle.


blockNumber

blockNumber: bigint

Defined in: packages/sdk/src/markets.ts:2138

The single block both reads were made at.