@cobaltx/sdk-v2
Version:
An SDK for building applications on top of CobaltX.
15 lines (12 loc) • 526 B
TypeScript
import { AddressLookupTableAccount, Connection, PublicKey } from '@solana/web3.js';
import { NetworkName } from '../../config.js';
interface CacheLTA {
[key: string]: AddressLookupTableAccount;
}
declare function getMultipleLookupTableInfo({ connection, address, network, }: {
connection: Connection;
address: PublicKey[];
network: NetworkName;
}): Promise<CacheLTA>;
declare function getLookupTableCache(network: NetworkName): CacheLTA;
export { CacheLTA, getLookupTableCache, getMultipleLookupTableInfo };