gill
gill/programs/token/Type aliases

RevokeInstruction

type RevokeInstruction<TProgram, TAccountSource, TAccountOwner, TRemainingAccounts> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[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 | AccountMeta<string>string
TAccountOwner extends string | AccountMeta<string>string
TRemainingAccounts extends readonly AccountMeta<string>[][]

On this page