{s}omniamarkets

@somnia-chain/markets-sdk


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

Interface: WithdrawParams

Defined in: oracleHub.ts:307

Properties

operatorId

operatorId: number

Defined in: oracleHub.ts:309

Operator whose WITHDRAWABLE credit to draw down. OWNER-gated on-chain.


amountWei

amountWei: bigint

Defined in: oracleHub.ts:312

Wei to withdraw from the operator's accrued surplus credit (must be ≤ withdrawableOf(operatorId), else the hub reverts InsufficientCredit).


to

to: `0x${string}`

Defined in: oracleHub.ts:314

Recipient of the native transfer.


gas?

optional gas?: bigint

Defined in: oracleHub.ts:315