gill
gill/programs/token/Type aliases

ConfidentialDepositInstruction

type ConfidentialDepositInstruction<TProgram, TAccountToken, TAccountMint, TAccountAuthority, TRemainingAccounts> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[TAccountToken extends string ? WritableAccount<TAccountToken> : TAccountToken, TAccountMint extends string ? ReadonlyAccount<TAccountMint> : TAccountMint, TAccountAuthority extends string ? ReadonlyAccount<TAccountAuthority> : TAccountAuthority, ...TRemainingAccounts]>;

Type Parameters

Type ParameterDefault type
TProgram extends stringtypeof TOKEN_2022_PROGRAM_ADDRESS
TAccountToken extends string | IAccountMeta<string>string
TAccountMint extends string | IAccountMeta<string>string
TAccountAuthority extends string | IAccountMeta<string>string
TRemainingAccounts extends readonly IAccountMeta<string>[][]

On this page