{s}omniamarkets

@somnia-chain/markets-sdk


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

Interface: WithdrawMyCreditParams

Defined in: oracleHub.ts:388

Parameters for OracleHubAdmin.withdrawMyCredit.

Properties

amountWei

amountWei: bigint

Defined in: oracleHub.ts:394

Wei to withdraw from the CALLER's own accrued A1 payer credit (must be ≤ payerCreditOf(caller), else the hub reverts). msg.sender-gated — the connected signer draws only its own credit.


to

to: `0x${string}`

Defined in: oracleHub.ts:396

Recipient of the native transfer.


gas?

optional gas?: bigint

Defined in: oracleHub.ts:398

Gas-limit override for this tx (defaults to the admin config's gas).