solana_runtime_transaction

Module runtime_transaction

Source
Expand description

RuntimeTransaction is runtime facing representation of transaction, while solana_sdk::SanitizedTransaction is client facing representation.

It has two states:

  1. Statically Loaded: after receiving packet from sigverify and deserializing it into solana_sdk::VersionedTransaction, then sanitizing into solana_sdk::SanitizedVersionedTransaction, which can be wrapped into RuntimeTransaction with static transaction metadata extracted.
  2. Dynamically Loaded: after successfully loaded account addresses from onchain ALT, RuntimeTransaction transits into Dynamically Loaded state, with its dynamic metadata loaded.

Structsยง