gill
gill/programs/token/Type aliases

RevokeInstruction

type RevokeInstruction<TProgram, TAccountSource, TAccountOwner, TRemainingAccounts> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[TAccountSource extends string ? WritableAccount<TAccountSource> : TAccountSource, TAccountOwner extends string ? ReadonlyAccount<TAccountOwner> : TAccountOwner, ...TRemainingAccounts]>;

Type Parameters

Type ParameterDefault type
TProgram extends stringtypeof TOKEN_2022_PROGRAM_ADDRESS
TAccountSource extends string | IAccountMeta<string>string
TAccountOwner extends string | IAccountMeta<string>string
TRemainingAccounts extends readonly IAccountMeta<string>[][]

On this page