TxSigner

class aeternity.transactions.TxSigner(account, network_id)[source]

TxSigner is used to compute the signature for transactions

Args:

account (Account): the account that will be signing the transactions network_id (str): the network id of the target network

sign_transaction(transaction: aeternity.transactions.TxObject, metadata: dict = None) → str[source]

Sign, encode and compute the hash of a transaction

Args:

tx (TxObject): the TxObject to be signed

Returns:

the encoded and prefixed signature