getConfidentialTransferInstruction
Type Parameters
| Type Parameter | Default 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 Address | Address<"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"> |
Parameters
| Parameter | Type |
|---|---|
input | ConfidentialTransferInput<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> ? AccountMeta<TAccountAuthority> & {
role: READONLY_SIGNER;
} & AccountSignerMeta<TAccountAuthority, TransactionSigner<TAccountAuthority>> : TAccountAuthority>