@solana/transaction-messages
Version:
Helpers for creating transaction messages
17 lines • 799 B
TypeScript
import { Address } from '@solana/addresses';
import { OrderedAccounts } from '../compile/accounts';
type AddressTableLookup = Readonly<{
/** The address of the address lookup table account. */
lookupTableAddress: Address;
/** @deprecated Use `readonlyIndexes` */
readableIndices: readonly number[];
/** Indexes of accounts in a lookup table to load as read-only. */
readonlyIndexes: readonly number[];
/** Indexes of accounts in a lookup table to load as writable. */
writableIndexes: readonly number[];
/** @deprecated Use `writableIndexes` */
writableIndices: readonly number[];
}>;
export declare function getCompiledAddressTableLookups(orderedAccounts: OrderedAccounts): AddressTableLookup[];
export {};
//# sourceMappingURL=address-table-lookups.d.ts.map