Kit
Functions

decompileTransactionMessageFetchingLookupTables

decompileTransactionMessageFetchingLookupTables(compiledTransactionMessage, rpc, config?): Promise<Readonly<{ instructions: readonly Instruction<string, readonly (/api/functions/AccountLookupMeta<string, string> | AccountMeta<string>)[]>[]; version: TransactionVersion; }> & TransactionMessageWithFeePayer<string> & TransactionMessageWithLifetime>

Returns a TransactionMessage from a CompiledTransactionMessage. If any of the accounts in the compiled message require an address lookup table to find their address, this function will use the supplied RPC instance to fetch the contents of the address lookup table from the network.

Parameters

ParameterTypeDescription
compiledTransactionMessageCompiledTransactionMessage & Readonly<{ lifetimeToken: string; }>-
rpcRpc<GetMultipleAccountsApi>An object that supports the GetMultipleAccountsApi of the Solana RPC API
config?DecompileTransactionMessageFetchingLookupTablesConfig

Returns

Promise<Readonly<{ instructions: readonly Instruction<string, readonly (/api/functions/AccountLookupMeta<string, string> | AccountMeta<string>)[]>[]; version: TransactionVersion; }> & TransactionMessageWithFeePayer<string> & TransactionMessageWithLifetime>

On this page