2AJ2K6NLGDCCHAMHUUM3CNJW53YPZL33
[
"autonomous agent",
{
"init": "{
$args = trigger.data;
$qt = $args.qt;
$receptora = $args.receptora;
$unitat = $args.unitat;
}",
"messages": [
{
"app": "payment",
"payload": {
"asset": "{ $unitat }",
"outputs": [
{
"address": "{ $receptora }",
"amount": "{ $qt }"
}
]
}
},
{
"app": "state",
"state": "{
if ( ! var[ 'ordinal' ] ) { $ordinal = 1; }
else { $ordinal = var[ 'ordinal' ] + 1; }
var[ 'ordinal' ] = $ordinal;
var[ 'emissio_' || $ordinal ] =
{
qt: $qt,
receptora: $receptora,
temps: timestamp
};
response[ 'Resultat: ' ] =
"EmissiĆ³ #" || $ordinal || " amb qt: " || $qt || " a l'adr " || $receptora;
}"
}
]
}
]
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount