j_add_tx¶
-
privex.rpcemulator.bitcoin.j_add_tx(account='', address=None, amount: Union[float, str, decimal.Decimal] = None, category: str = None, **kwargs)[source]¶ Generate a transaction using
j_gen_tx()using the passed arguments, then store it into the transaction list.- Parameters
account – Wallet account to label the transaction under
address – Our address, that we’re sending from or receiving into.
amount – The amount of BTC transferred
category – Either
'receive'or'send'kwargs – Any additional dict keys to put into the TX data
- Return dict tx
The generated TX