PAHZO5PWII4TXO3GBGBFDC6HWGJX2VJ2
[
"autonomous agent",
{
"init": "{
// $owner = params.owner;
$owner = 'TTERXIO5HNT7T6XQQLCVI4MCP2ZVXLHE';
}",
"messages": {
"cases": [
{
"if": "{trigger.data.transfer}",
"init": "{
$a_asset = trigger.data.a_asset;
$a_to = trigger.data.a_to;
$a_value = trigger.data.a_value;
$b_asset = trigger.data.b_asset;
$b_to = trigger.data.b_to;
$b_value = trigger.data.b_value;
}",
"messages": [
{
"if": "{$a_asset AND $a_to AND $a_value}",
"app": "payment",
"payload": {
"asset": "{$a_asset}",
"outputs": [
{
"address": "{$a_to}",
"amount": "{$a_value}"
}
]
}
},
{
"if": "{$b_asset AND $b_to AND $b_value}",
"app": "payment",
"payload": {
"asset": "{$b_asset}",
"outputs": [
{
"address": "{$b_to}",
"amount": "{$b_value}"
}
]
}
}
]
}
]
}
}
]
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount