Trait StellarSignTrait

Source
pub trait StellarSignTrait: Sync + Send {
    // Required method
    fn sign_xdr_transaction<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        unsigned_xdr: &'life1 str,
        network_passphrase: &'life2 str,
    ) -> Pin<Box<dyn Future<Output = Result<SignXdrTransactionResponseStellar, SignerError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}
Expand description

Trait defining Stellar-specific signing operations

This trait extends the basic signing functionality with methods specific to the Stellar blockchain, following the same pattern as SolanaSignTrait.

Required Methods§

Source

fn sign_xdr_transaction<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, unsigned_xdr: &'life1 str, network_passphrase: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<SignXdrTransactionResponseStellar, SignerError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Signs a Stellar transaction in XDR format

§Arguments
  • unsigned_xdr - The unsigned transaction in XDR format
  • network_passphrase - The network passphrase for the Stellar network
§Returns

A signed transaction response containing the signed XDR and signature

Implementors§