@somnia-chain/markets-sdk / index / WithdrawParams
Interface: WithdrawParams
Defined in: oracleHub.ts:373
Parameters for OracleHubAdmin.withdraw.
Properties
operatorId
operatorId:
number
Defined in: oracleHub.ts:375
Operator whose WITHDRAWABLE credit to draw down. OWNER-gated on-chain.
amountWei
amountWei:
bigint
Defined in: oracleHub.ts:380
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:382
Recipient of the native transfer.
gas?
optionalgas?:bigint
Defined in: oracleHub.ts:384
Gas-limit override for this tx (defaults to the admin config's gas).