BWQ7YX7CPVQOC7KJHTQWCBFO6U6DA3JO
[
"autonomous agent",
{
"init": "{
$last_asset = var['last_asset'];
}",
"messages": {
"cases": [
{
"if": "{trigger.data.send}",
"messages": [
{
"app": "asset",
"payload": {
"is_private": false,
"is_transferrable": true,
"auto_destroy": false,
"fixed_denominations": false,
"issued_by_definer_only": true,
"cosigned_by_definer": false,
"spender_attested": false
}
},
{
"if": "{$last_asset}",
"app": "payment",
"payload": {
"asset": "{$last_asset}",
"outputs": [
{
"address": "{trigger.address}",
"amount": "{trigger.data.send}"
}
]
}
},
{
"app": "state",
"state": "{
var['last_asset'] = response_unit;
response['last_asset'] = response_unit;
}"
}
]
}
]
}
}
]
- MCI: 1280557
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"last_asset": "4M+/J5YziZ8DKlgOAGFSKQtozVBryBuk1ygEmUjw5dc="
}
}
- MCI: 1280554
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"last_asset": "daChfsTQ2zjGgEsbygDuLBKCdumfPbNDU4Cu+GHjZpo="
}
}
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount
27.03.2020 11:45:47
BWQ7YX7CPVQOC7KJHTQWCBFO6U6DA3JO
out
27.03.2020 11:45:47
in
BWQ7YX7CPVQOC7KJHTQWCBFO6U6DA3JO
27.03.2020 11:45:20
BWQ7YX7CPVQOC7KJHTQWCBFO6U6DA3JO
out
BWQ7YX7CPVQOC7KJHTQWCBFO6U6DA3JO
27.03.2020 11:45:20
in
BWQ7YX7CPVQOC7KJHTQWCBFO6U6DA3JO