PGPWYCEZX2J5D4OH2W4UDSCH7NVZJPQX
[
"autonomous agent",
{
"messages": {
"cases": [
{
"if": "{trigger.data.num == 0}",
"messages": [
{
"app": "data",
"payload": {
"numMax": "{trigger.data.numMax}",
"addressSend": "{trigger.address}"
}
},
{
"app": "payment",
"payload": {
"asset": "base",
"outputs": [
{
"address": "
YOKIHQ5NE2W5JDV3KHFOPC6XV3TIRSNR",
"amount": "{trigger.output[[asset=base]]-1000}"
}
]
}
}
]
},
{
"if": "{trigger.data.num != 0}",
"messages": [
{
"app": "payment",
"payload": {
"asset": "base",
"outputs": [
{
"address": "{trigger.address}",
"amount": "{trigger.output[[asset=base]]-1000}"
}
]
}
}
]
},
{
"messages": [
{
"app": "payment",
"payload": {
"outputs": [
{
"address": "{ trigger.address }"
}
]
}
}
]
}
]
}
}
]
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount