Unit ID
lfhBnwPbX21zn9ZzvSszAyUvSgZEbyMcbWyEeuZecaY=
Received
03.03.2021 18:53:50
Confirmation delay (full node)
2 minutes 56 seconds
Confirmation delay (light node)
3 minutes 29 seconds
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ $nom_AA = 'Registre'; $versio = '02'; //$_Portal_original = '0000000000'; $_Portal_original = trigger.address; //Hauria de ser fix amb adr darrer Portal $_Portal_actual = data_feed[[ oracles = this_address, feed_name = 'portal_actual', ifnone = false ]] otherwise $_Portal_original; if ( $_Portal_actual != trigger.address ) bounce ( 'Portal no reconegut' ); $args = trigger.data; $retorn_minim = 10000; $qt_retorn = balance[ base ] > 20000 ? balance[ base ] - 10000 : 0; }", "messages": [ { "app": "data_feed", "payload": "{ $args }" }, { "if": "{ $qt_retorn > $retorn_minim }", "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{ $_Portal_actual }", "amount": "{ $qt_retorn }" } ] } }, { "app": "state", "state": "{ response[ 'Resultat' ] = 'Dades registrades'; response[ 'Romanent Registre' ] = balance[ base ] || ' bytes'; if ( $qt_retorn > $retorn_minim ) response[ 'Transferits a Portal' ] = $qt_retorn || ' bytes'; }" } ] } ]
Technical information
Fees:
1,951 bytes
(452 headers, 1499 payload)
Level:1904642
Witnessed level:1904635
Main chain index:1896678
Latest included mc index:1896677
Status:stable/confirmed/final