solana_address_lookup_table_program::instruction

Function create_lookup_table

source
pub fn create_lookup_table(
    authority_address: Pubkey,
    payer_address: Pubkey,
    recent_slot: u64,
) -> (Instruction, Pubkey)
Expand description

Constructs an instruction to create a table account and returns the instruction and the table account’s derived address.

§Note

This instruction doesn’t require the authority to be a signer but until v1.12 the address lookup table program still requires the authority to sign the transaction.