fetchAddressesForLookupTables

function fetchAddressesForLookupTables(
    lookupTableAddresses,
    rpc,
    config?,
): Promise<AddressesByLookupTableAddress>;

Given a list of addresses belonging to address lookup tables, returns a map of lookup table addresses to an ordered array of the addresses they contain.

Parameters

ParameterTypeDescription
lookupTableAddressesAddress[]-
rpcRpc<GetMultipleAccountsApi>An object that supports the GetMultipleAccountsApi of the Solana RPC API
config?FetchAccountsConfig

Returns

Promise<AddressesByLookupTableAddress>

On this page