Fetch and decode an Address Lookup Table account.
HTTP transport.
Lookup table account public key.
RPC options.
Decoded lookup table, or null if not found.
null
const lut = await fetchLookupTable(transport, lutPubkey);if (lut) console.log(`Contains ${lut.decoded.addresses.length} addresses`); Copy
const lut = await fetchLookupTable(transport, lutPubkey);if (lut) console.log(`Contains ${lut.decoded.addresses.length} addresses`);
1.1.0
Fetch and decode an Address Lookup Table account.