gill
gill/programs/token/Type aliases

ApproveInput

type ApproveInput<TAccountSource, TAccountDelegate, TAccountOwner> = {
  amount: ApproveInstructionDataArgs["amount"];
  delegate: Address<TAccountDelegate>;
  multiSigners?: TransactionSigner[];
  owner: Address<TAccountOwner> | TransactionSigner<TAccountOwner>;
  source: Address<TAccountSource>;
};

Type Parameters

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

Properties

amount

amount: ApproveInstructionDataArgs["amount"];

delegate

delegate: Address<TAccountDelegate>;

The delegate.


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