Kit
Functions

decompileTransactionMessage

decompileTransactionMessage(compiledTransactionMessage, config?): Readonly<{ instructions: readonly Instruction<string, readonly (AccountLookupMeta<string, string> | AccountMeta<string>)[]>[]; version: TransactionVersion; }> & TransactionMessageWithFeePayer<string> & TransactionMessageWithLifetime

Converts the type of transaction message data structure appropriate for execution on the network to the type of transaction message data structure designed for use in your application.

Because compilation is a lossy process, you can not fully reconstruct a source message from a compiled message without extra information. In order to faithfully reconstruct the original source message you will need to supply supporting details about the lifetime constraint and the concrete addresses of any accounts sourced from account lookup tables.

Parameters

ParameterType
compiledTransactionMessageCompiledTransactionMessage & Readonly<{ lifetimeToken: string; }>
config?DecompileTransactionMessageConfig

Returns

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

See

compileTransactionMessage

On this page