gill

getConfidentialTransferInstruction

function getConfidentialTransferInstruction<TAccountSourceToken, TAccountMint, TAccountDestinationToken, TAccountInstructionsSysvar, TAccountEqualityRecord, TAccountCiphertextValidityRecord, TAccountRangeRecord, TAccountAuthority, TProgramAddress>(input, config?): ConfidentialTransferInstruction<TProgramAddress, TAccountSourceToken, TAccountMint, TAccountDestinationToken, TAccountInstructionsSysvar, TAccountEqualityRecord, TAccountCiphertextValidityRecord, 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-
TAccountCiphertextValidityRecord extends string-
TAccountRangeRecord extends string-
TAccountAuthority extends string-
TProgramAddress extends AddressAddress<"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb">

Parameters

ParameterType
inputConfidentialTransferInput<TAccountSourceToken, TAccountMint, TAccountDestinationToken, TAccountInstructionsSysvar, TAccountEqualityRecord, TAccountCiphertextValidityRecord, TAccountRangeRecord, TAccountAuthority>
config?{ programAddress?: TProgramAddress; }
config.programAddress?TProgramAddress

Returns

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

On this page