solana_svm_transaction::svm_transaction

Trait SVMTransaction

Source
pub trait SVMTransaction: SVMMessage {
    // Required methods
    fn signature(&self) -> &Signature;
    fn signatures(&self) -> &[Signature];
}

Required Methods§

Source

fn signature(&self) -> &Signature

Get the first signature of the message.

Source

fn signatures(&self) -> &[Signature]

Get all the signatures of the message.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SVMTransaction for SanitizedTransaction

Implementors§