gill

getConfidentialTransferWithFeeInstruction

function getConfidentialTransferWithFeeInstruction<TAccountSourceToken, TAccountMint, TAccountDestinationToken, TAccountInstructionsSysvar, TAccountEqualityRecord, TAccountTransferAmountCiphertextValidityRecord, TAccountFeeSigmaRecord, TAccountFeeCiphertextValidityRecord, TAccountRangeRecord, TAccountAuthority, TProgramAddress>(input, config?): ConfidentialTransferWithFeeInstruction<TProgramAddress, TAccountSourceToken, TAccountMint, TAccountDestinationToken, TAccountInstructionsSysvar, TAccountEqualityRecord, TAccountTransferAmountCiphertextValidityRecord, TAccountFeeSigmaRecord, TAccountFeeCiphertextValidityRecord, TAccountRangeRecord, 
  | Address<TAccountAuthority>
  | TransactionSigner<TAccountAuthority> extends TransactionSigner<TAccountAuthority> ? IAccountMeta<TAccountAuthority> & {
  role: READONLY_SIGNER;
} & IAccountSignerMeta<TAccountAuthority, TransactionSigner<TAccountAuthority>> : TAccountAuthority>;

Type Parameters

Type ParameterDefault type
TAccountSourceToken extends string-
TAccountMint extends string-
TAccountDestinationToken extends string-
TAccountInstructionsSysvar extends string-
TAccountEqualityRecord extends string-
TAccountTransferAmountCiphertextValidityRecord extends string-
TAccountFeeSigmaRecord extends string-
TAccountFeeCiphertextValidityRecord extends string-
TAccountRangeRecord extends string-
TAccountAuthority extends string-
TProgramAddress extends AddressAddress<"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb">

Parameters

ParameterType
inputConfidentialTransferWithFeeInput<TAccountSourceToken, TAccountMint, TAccountDestinationToken, TAccountInstructionsSysvar, TAccountEqualityRecord, TAccountTransferAmountCiphertextValidityRecord, TAccountFeeSigmaRecord, TAccountFeeCiphertextValidityRecord, TAccountRangeRecord, TAccountAuthority>
config?{ programAddress?: TProgramAddress; }
config.programAddress?TProgramAddress

Returns

ConfidentialTransferWithFeeInstruction<TProgramAddress, TAccountSourceToken, TAccountMint, TAccountDestinationToken, TAccountInstructionsSysvar, TAccountEqualityRecord, TAccountTransferAmountCiphertextValidityRecord, TAccountFeeSigmaRecord, TAccountFeeCiphertextValidityRecord, TAccountRangeRecord, | Address<TAccountAuthority> | TransactionSigner<TAccountAuthority> extends TransactionSigner<TAccountAuthority> ? IAccountMeta<TAccountAuthority> & { role: READONLY_SIGNER; } & IAccountSignerMeta<TAccountAuthority, TransactionSigner<TAccountAuthority>> : TAccountAuthority>

On this page