gill

getExtendLookupTableInstruction

function getExtendLookupTableInstruction<TAccountAddress, TAccountAuthority, TAccountPayer, TAccountSystemProgram, TProgramAddress>(input, config?): Instruction<TProgramAddress, readonly (AccountLookupMeta<string, string> | AccountMeta<string>)[]> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountAddress extends string ? WritableAccount<TAccountAddress<TAccountAddress>> : TAccountAddress, TAccountAuthority extends string ? AccountMeta<TAccountAuthority<TAccountAuthority>> & {
  role: READONLY_SIGNER;
} & AccountSignerMeta<TAccountAuthority<TAccountAuthority>, TransactionSigner<TAccountAuthority<TAccountAuthority>>> : TAccountAuthority, TAccountPayer extends string ? AccountMeta<TAccountPayer<TAccountPayer>> & {
  role: WRITABLE_SIGNER;
} & AccountSignerMeta<TAccountPayer<TAccountPayer>, TransactionSigner<TAccountPayer<TAccountPayer>>> : TAccountPayer, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram<TAccountSystemProgram>> : TAccountSystemProgram]> & InstructionWithByteDelta;

Type Parameters

Type ParameterDefault type
TAccountAddress extends string-
TAccountAuthority extends string-
TAccountPayer extends string-
TAccountSystemProgram extends string-
TProgramAddress extends AddressAddress<"AddressLookupTab1e1111111111111111111111111">

Parameters

ParameterType
inputExtendLookupTableInput<TAccountAddress, TAccountAuthority, TAccountPayer, TAccountSystemProgram>
config?{ programAddress?: TProgramAddress; }
config.programAddress?TProgramAddress

Returns

Instruction<TProgramAddress, readonly (AccountLookupMeta<string, string> | AccountMeta<string>)[]> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountAddress extends string ? WritableAccount<TAccountAddress<TAccountAddress>> : TAccountAddress, TAccountAuthority extends string ? AccountMeta<TAccountAuthority<TAccountAuthority>> & { role: READONLY_SIGNER; } & AccountSignerMeta<TAccountAuthority<TAccountAuthority>, TransactionSigner<TAccountAuthority<TAccountAuthority>>> : TAccountAuthority, TAccountPayer extends string ? AccountMeta<TAccountPayer<TAccountPayer>> & { role: WRITABLE_SIGNER; } & AccountSignerMeta<TAccountPayer<TAccountPayer>, TransactionSigner<TAccountPayer<TAccountPayer>>> : TAccountPayer, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram<TAccountSystemProgram>> : TAccountSystemProgram]> & InstructionWithByteDelta

On this page