@somnia-chain/markets-sdk


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

Function: outcomeMarkPrice()

outcomeMarkPrice(input): bigint | undefined

Defined in: packages/sdk/src/derivedReads.ts:885

Live mark price for one outcome in its own terms (raw): YES marks at the YES mid, NO at the complement. undefined when there's no mid to mark to.

Parameters

input

outcomeIndex

number

yesMid

bigint | undefined

YES mark (raw), e.g. from markYesPrice.

oneShare

bigint

Returns

bigint | undefined