WHNW62IEZ5WHN7IJGHSQWAZNFZGR4YP6
[
"autonomous agent",
{
"init": "{
$nom_AA = 'Emissions';
//$_Registre = '5WVBJQHTEP54AEYUJGTQKWTXTXZSJQWA';
$_Registre = trigger.data._Registre; // * només x tests
//$_Portal = $__dada( '_Portal' );
$_Portal = trigger.address; // * només x tests
if ( $_Portal != trigger.address ) bounce ( 'Portal no reconegut' );
//...
$args = trigger.data;
$adr__ = trigger.initial_address;
$unitat = trigger.output[[ asset != base ]].asset;
$qt = trigger.output[[ asset = $unitat ]];
$proces = $args.proces;
$dades = $args.dades otherwise {};
$refgeto = 'geto_' || $args.nomgeto;
}",
"messages": [
{
"app": "state",
"state": "{
response[ 'Getó' ] = $refgeto;
if ( $proces == 'dotacio' ) {
response[ 'Procés' ] = $proces;
}
//response[ 'Topall' ] = $topall;
}"
}
]
}
]
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount