gill

getSetTransferFeeInstruction

function getSetTransferFeeInstruction<TAccountMint, TAccountTransferFeeConfigAuthority, TProgramAddress>(input, config?): SetTransferFeeInstruction<TProgramAddress, TAccountMint, 
  | Address<TAccountTransferFeeConfigAuthority>
  | TransactionSigner<TAccountTransferFeeConfigAuthority> extends TransactionSigner<TAccountTransferFeeConfigAuthority> ? IAccountMeta<TAccountTransferFeeConfigAuthority> & {
  role: READONLY_SIGNER;
} & IAccountSignerMeta<TAccountTransferFeeConfigAuthority, TransactionSigner<TAccountTransferFeeConfigAuthority>> : TAccountTransferFeeConfigAuthority>;

Type Parameters

Type ParameterDefault type
TAccountMint extends string-
TAccountTransferFeeConfigAuthority extends string-
TProgramAddress extends AddressAddress<"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb">

Parameters

ParameterType
inputSetTransferFeeInput<TAccountMint, TAccountTransferFeeConfigAuthority>
config?{ programAddress?: TProgramAddress; }
config.programAddress?TProgramAddress

Returns

SetTransferFeeInstruction<TProgramAddress, TAccountMint, | Address<TAccountTransferFeeConfigAuthority> | TransactionSigner<TAccountTransferFeeConfigAuthority> extends TransactionSigner<TAccountTransferFeeConfigAuthority> ? IAccountMeta<TAccountTransferFeeConfigAuthority> & { role: READONLY_SIGNER; } & IAccountSignerMeta<TAccountTransferFeeConfigAuthority, TransactionSigner<TAccountTransferFeeConfigAuthority>> : TAccountTransferFeeConfigAuthority>

On this page