pub trait StaticMeta {
// Required methods
fn message_hash(&self) -> &Hash;
fn is_simple_vote_tx(&self) -> bool;
fn compute_unit_limit(&self) -> u32;
fn compute_unit_price(&self) -> u64;
fn loaded_accounts_bytes(&self) -> u32;
}
Expand description
metadata can be extracted statically from sanitized transaction, for example: message hash, simple-vote-tx flag, limits set by instructions