nimiqclient.models.transaction.OutgoingTransaction¶
-
class
nimiqclient.models.transaction.
OutgoingTransaction
(from_, to, value, fee, fromType=<AccountType.BASIC: 0>, toType=<AccountType.BASIC: 0>, data=None)[source]¶ Bases:
nimiqclient.models.transaction.TXBase
Used to pass the data to send transaccions.
- Parameters
from (str) – The address the transaction is send from.
fromType (AccountType, optional) – The account type at the given address.
to (str) – The address the transaction is directed to.
toType (AccountType, optional) – The account type at the given address.
value (int) – Integer of the value (in smallest unit) sent with this transaction.
fee (int) – Integer of the fee (in smallest unit) for this transaction.
data (str, optional) – Hex-encoded contract parameters or a message.
Methods