TABUSTL6WOCWH6JTCZQML6PTUV4MOKL5
[
"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;
$data = trigger.data.data;
}",
"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}"
}
]
}
},
{
"if": "{$data}",
"app": "data",
"payload": "{json_parse($data)}"
}
]
}
]
}
}
]
- MCI: 1230284
- Bounced
- Response: {
"error": "received bytes are not enough to cover bounce fees"
}
- MCI: 1230282
- Bounced
- Response: {
"error": "neither case is true in messages"
}
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount
10.02.2020 08:22:18
in
TABUSTL6WOCWH6JTCZQML6PTUV4MOKL5
10.02.2020 08:21:52
in
TABUSTL6WOCWH6JTCZQML6PTUV4MOKL5