nimiqclient.models.transaction.Transaction¶
-
class
nimiqclient.models.transaction.
Transaction
(**kwargs)[source]¶ Bases:
nimiqclient.models.transaction.TXBase
Transaction returned by the server.
- Parameters
hash (str) – Hex-encoded hash of the transaction.
blockHash (str, optional) – Hex-encoded hash of the block containing the transaction.
blockNumber (int, optional) – Height of the block containing the transaction.
timestamp (int, optional) – UNIX timestamp of the block containing the transaction.
confirmations (int, optional) – Number of confirmations of the block containing the transaction.
transactionIndex (int, optional) – Index of the transaction in the block.
from (str) – Hex-encoded address of the sending account.
fromAddress (str) – Nimiq user friendly address (NQ-address) of the sending account.
to (str) – Hex-encoded address of the recipient account.
toAddress (str) – Nimiq user friendly address (NQ-address) of the recipient account.
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.
flags (int) – Bit-encoded transaction flags.
valid (bool, optional) – Is valid transaction.
inMempool (bool, optional) – Transaction is in mempool.
Methods