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§

Implementations on Foreign Types§

source§

impl SerializableTransaction for VersionedTransaction

source§

impl SerializableTransaction for Transaction

Implementors§