Unit ID
nWR34pR535nBGgGvZU+o0xebODDui6+A6jlcXmA64zE=
Received
25.08.2020 08:40:34
Confirmation delay (full node)
4 minutes 59 seconds
Confirmation delay (light node)
7 minutes 49 seconds
Messages
Definition
Definition: [ "autonomous agent", { "bounce_fees": { "base": 10000 }, "init": "{ if (!trigger.data.hash_of_secret or !trigger.data.destination_address) bounce("I need:'destination_address' and 'hash_of_secret' and optional 'amount', 'asset_id' and 'duration_in_hours'."); }", "messages": [ { "app": "definition", "payload": { "definition": [ "autonomous agent", { "base_aa": "{"JH3LOA27OOP443BAGJYBHONKCK6NPLAB"}", "params": { "destination_address": "{trigger.data.destination_address}", "hash_of_secret": "{trigger.data.hash_of_secret}", "amount": "{trigger.data.amount otherwise 0}", "asset_id": "{trigger.data.asset_id otherwise "base"}", "deadline": "{timestamp+(json_parse(trigger.data.duration_in_hours otherwise 12)*60*60)}" } } ] } }, { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{trigger.address}", "amount": "{balance[base]}" } ] } }, { "app": "state", "state": "{ response['message'] = "A lock box (HTLC) as been created for '"||trigger.data.destination_address||"'by the following unit: "||response_unit; }" } ] } ]
Technical information
Fees:
1,716 bytes
(452 headers, 1264 payload)
Level:1571292
Witnessed level:1571285
Main chain index:1564132
Latest included mc index:1564131
Status:stable/confirmed/final