decompileTransactionMessageFetchingLookupTables
decompileTransactionMessageFetchingLookupTables(
compiledTransactionMessage
,rpc
,config?
):Promise
<Readonly
<{instructions
: readonlyInstruction
<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
Parameter | Type | Description |
---|---|---|
compiledTransactionMessage | CompiledTransactionMessage & Readonly <{ lifetimeToken : string ; }> | - |
rpc | Rpc <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>