Module runtime_transaction

Source
Expand description

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

It has two states:

  1. Statically Loaded: after receiving packet from sigverify and deserializing it into solana_transaction::versioned::VersionedTransaction, then sanitizing into solana_transaction::versioned::sanitized::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ยง

RuntimeTransaction