nimiqclient.models.log.HTLCCreateLog¶
- class nimiqclient.models.log.HTLCCreateLog(type, contractAddress, sender, recipient, hashAlgorithm, hashRoot, hashCount, timeout, totalAmount)[source]¶
Bases:
LogHTLC creation log returned by the server.
- Parameters:
type (LogType) – The log type associated with the log.
contractAddress (str) – Contract address of the HTLC associated with the log.
sender (str) – Sender of the HTLC associated with the log.
recipient (str) – Recipient of the HTLC associated with the log.
hashAlgorithm (str) – Hash algorithm of the HTLC associated with the log.
hashRoot (str) – Hash root of the HTLC associated with the log.
hashCount (int) – Hash count of the HTLC associated with the log.
timeout (int) – Timeout of the HTLC associated with the log.
totalAmount (int) – Total amount of the HTLC associated with the log.
Methods
Get the specific log type from the dictionary data.