gill
gill/programs/token/Type aliases

ApproveCheckedInput

type ApproveCheckedInput<TAccountSource, TAccountMint, TAccountDelegate, TAccountOwner> = {
  amount: ApproveCheckedInstructionDataArgs["amount"];
  decimals: ApproveCheckedInstructionDataArgs["decimals"];
  delegate: Address<TAccountDelegate>;
  mint: Address<TAccountMint>;
  multiSigners?: TransactionSigner[];
  owner: Address<TAccountOwner> | TransactionSigner<TAccountOwner>;
  source: Address<TAccountSource>;
};

Type Parameters

Type ParameterDefault type
TAccountSource extends stringstring
TAccountMint extends stringstring
TAccountDelegate extends stringstring
TAccountOwner extends stringstring

Properties

amount

amount: ApproveCheckedInstructionDataArgs["amount"];

decimals

decimals: ApproveCheckedInstructionDataArgs["decimals"];

delegate

delegate: Address<TAccountDelegate>;

The delegate.


mint

mint: Address<TAccountMint>;

The token mint.


multiSigners?

optional multiSigners: TransactionSigner[];

owner

owner: Address<TAccountOwner> | TransactionSigner<TAccountOwner>;

The source account owner or its multisignature account.


source

source: Address<TAccountSource>;

The source account.

On this page