Function substrate_stellar_sdk::transaction::sign [−][src]
pub fn sign(
transaction_envelope: &mut TransactionEnvelope,
network: &Network,
keypairs: Vec<&Keypair>
) -> Result<(), SignatureError>
Expand description
Generate and add signatures to a transaction envelope
Generate and add signatures to the transaction_envelope
. The signature
is generated for a network having the passphrase contained in network
. Generate and add
one signature for each keypair in keypairs
.