Skip to main content

Type Alias: WithdrawParams

type WithdrawParams = object;

Defined in: packages/overcast-core/src/types/index.ts:133

Parameters for a withdrawal from a user's protocol escrow vault.

Properties

amount

amount: bigint;

Defined in: packages/overcast-core/src/types/index.ts:139

Amount in the asset's native units. bigint so u64 values stay exact.


mint

mint: Id;

Defined in: packages/overcast-core/src/types/index.ts:137

The asset (mint) being withdrawn.


withdrawer

withdrawer: Id;

Defined in: packages/overcast-core/src/types/index.ts:135

The owner of the escrow vault the funds are pulled from.