pub trait SerializableTransaction: Serialize {
// Required methods
fn get_signature(&self) -> &Signature;
fn get_recent_blockhash(&self) -> &Hash;
fn uses_durable_nonce(&self) -> bool;
}
Expand description
Trait used to add support for versioned transactions to RPC APIs while retaining backwards compatibility
Required Methods§
fn get_signature(&self) -> &Signature
fn get_recent_blockhash(&self) -> &Hash
fn uses_durable_nonce(&self) -> bool
Object Safety§
This trait is not object safe.