Function substrate_stellar_sdk::transaction::add_base64_signature[][src]

pub fn add_base64_signature<T: AsRef<[u8]>>(
    transaction_envelope: &mut TransactionEnvelope,
    network: &Network,
    base64_signature: T,
    public_key: &PublicKey
) -> Result<(), SignatureError>
Expand description

Add a base64 encoded signature to a transaction envelope

Add a previously generated base64 encoded signature to the transaction_envelope. This function verifies whether the signature is valid given the passphrase contained in network and the public_key.