D7XO52B3RSUVRR5P4NFH3OC7ZOGQ363S
[
"autonomous agent",
{
"bounce_fees": {
"base": 10000
},
"messages": {
"cases": [
{
"if": "{!var['last_id']}",
"messages": [
{
"app": "state",
"state": "{
var['last_id'] = 1;
var['last_address'] = trigger.address;
var['last_timestamp'] = timestamp;
response['message'] = 'first,last_id:' || var['last_id'] || ',last_address' || var['last_address'] || ', last_timestamp' || var['last_timestamp'] || ',balance:' || balance[base];
}"
}
]
},
{
"if": "{
$times = var['last_timestamp'] - timestamp;
$timess < 600000
}",
"messages": [
{
"app": "state",
"state": "{
var['last_address'] = trigger.address;
var['last_timestamp'] = timestamp;
response['message'] = 'go,last_id:' || var['last_id'] || ',last_address' || var['last_address'] || ', last_timestamp' || var['last_timestamp'] || ',balance:' || balance[base];
}"
}
]
},
{
"if": "{
$times = var['last_timestamp'] - timestamp;
$times > 600000
}",
"messages": [
{
"app": "payment",
"payload": {
"asset": "base",
"outputs": [
{
"address": "{ var['last_address'] }"
}
]
}
},
{
"app": "state",
"state": "{
var['last_id'] = var['last_id'] + 1;
var['last_address'] = trigger.address;
var['last_timestamp'] = timestamp;
response['message'] = 'new,last_id:' || var['last_id'] || ',last_address' || var['last_address'] || ', last_timestamp' || var['last_timestamp'] || ',balance:' || balance[base];
}"
}
]
}
]
}
}
]
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount