{s}omniamarkets

@somnia-chain/markets-sdk


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

Function: withdrawableOf()

withdrawableOf(operatorId, hub, client): Promise<bigint>

Defined in: oracleHub.ts:173

Wei an operator's owner may withdraw right now (§8e) — equal to creditOf; the earmark backing live markets is never withdrawable. Pure chain read.

Parameters

operatorId

number

hub

`0x${string}`

client

Returns

Promise<bigint>