{s}omniamarkets

@somnia-chain/markets-sdk


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

Function: getSchedulingCost()

getSchedulingCost(def, hub, client): Promise<bigint>

Defined in: oracleHub.ts:110

The MARGINAL scheduling cost for def (§8c dedup pricing): 0 when the definition's canonical key is already scheduled below the bind cap (the call would dedup onto the existing question), the full oracle submission cost otherwise (new question or cap-split). Pure chain read.

Parameters

def

QuestionDefinitionInput

hub

`0x${string}`

client

Returns

Promise<bigint>