gill
gill/programs/token/Type aliases

UiAmountToAmountInput

type UiAmountToAmountInput<TAccountMint> = {
  mint: Address<TAccountMint>;
  uiAmount: UiAmountToAmountInstructionDataArgs["uiAmount"];
};

Type Parameters

Type ParameterDefault type
TAccountMint extends stringstring

Properties

mint

mint: Address<TAccountMint>;

The mint to calculate for.


uiAmount

uiAmount: UiAmountToAmountInstructionDataArgs["uiAmount"];

On this page