Trait SolanaSignMessageOutput

Source
pub trait SolanaSignMessageOutput: SolanaSignatureOutput {
    // Required methods
    fn signed_message(&self) -> Vec<u8> ;
    fn signature_type(&self) -> Option<String>;
}

Required Methods§

Source

fn signed_message(&self) -> Vec<u8>

Message bytes that were signed. The wallet may prefix or otherwise modify the message before signing it.

Source

fn signature_type(&self) -> Option<String>

Optional type of the message signature produced. If not provided, the signature must be Ed25519.

Implementations on Foreign Types§

Source§

impl SolanaSignMessageOutput for (Signature, Vec<u8>, Option<String>)

Implementors§