Expand description
RuntimeTransaction is runtime
facing representation of transaction, while
solana_transaction::sanitized::SanitizedTransaction is client facing representation.
It has two states:
- Statically Loaded: after receiving
packet
from sigverify and deserializing it intosolana_transaction::versioned::VersionedTransaction
, then sanitizing intosolana_transaction::versioned::sanitized::SanitizedVersionedTransaction
, which can be wrapped intoRuntimeTransaction
with static transaction metadata extracted. - Dynamically Loaded: after successfully loaded account addresses from onchain
ALT, RuntimeTransaction
transits into Dynamically Loaded state, with its dynamic metadata loaded.