Transfers view
UTXO view
Obyte.org
Unit Legend
- not on main chain, not stable
- main chain, not stable
- bad unit
- not on main chain, stable/confirmed/final
- main chain, stable/confirmed/final
- not on main chain, selected
- main chain, selected
Close
Close
Unit ID
35qMNk3TsX6OS5q+lKfH0ox4I6otDAojF6/Yt3v9qqE=
Received
09.05.2025 06:32:26
Confirmation delay (full node)
12 minutes 51 seconds
Authors
PV2VOHSEGNJJE4HPWUL4ED6AWCI6GEES
Children
Rx2MxgLblfU1v5A/uSYMKWZrNle0xYAPzIYWvfOGmVQ=
Parents
qrZUJjHC5UZRkoQGR0uNcHqqRcQCY7BBSJgjdY10uvI=
Messages
Definition
Address:
ESEP3ZMJMMIQ76L3XEOGYI2ZXT2OVYRB
Definition:
[ "autonomous agent", { "init": "{ $id = trigger.data.id; }", "messages": { "cases": [ { "if": "{trigger.data.register AND $id}", "init": "{ if (var['owner_' || $id]) bounce('thing ' || $id || ' already registered'); if (trigger.data.sell){ $price = trigger.data.price; if (!$price || !($price > 0) || round($price) != $price) bounce('please set a positive integer price'); } }", "messages": [ { "app": "state", "state": "{ var['owner_' || $id] = trigger.address; if (trigger.data.sell AND trigger.data.price) var['price_' || $id] = trigger.data.price; response['message'] = 'registered' || (trigger.data.sell AND trigger.data.price ? ' and put on sale for ' || trigger.data.price : ''); }" } ] }, { "if": "{$id AND trigger.data.sell AND trigger.data.price}", "init": "{ $owner = var['owner_' || $id]; if (!$owner OR $owner != trigger.address) bounce('thing ' || $id || ' is not yours'); if (!(trigger.data.price > 0) OR round(trigger.data.price) != trigger.data.price) bounce('please set an integer positive price'); }", "messages": [ { "app": "state", "state": "{ var['price_' || $id] = trigger.data.price; response['message'] = 'on sale for ' || trigger.data.price; }" } ] }, { "if": "{$id AND trigger.data.withdraw_from_sale}", "init": "{ $owner = var['owner_' || $id]; if (!$owner OR $owner != trigger.address) bounce('thing ' || $id || ' is not yours'); }", "messages": [ { "app": "state", "state": "{ var['price_' || $id] = false; // no-price means not on sale response['message'] = 'withdrawn from sale'; }" } ] }, { "if": "{$id AND trigger.data.buy}", "init": "{ $owner = var['owner_' || $id]; if (!$owner) bounce('no such thing: ' || $id); if ($owner == trigger.address) bounce('thing ' || $id || ' is already yours'); $price = var['price_' || $id]; if (!$price) bounce('thing ' || $id || ' is not on sale'); $amount = trigger.output[[asset=base]]; if ($amount < $price) bounce("the thing's price is " || $price || ", you sent only " || $amount); $change = $amount - $price; }", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{$owner}", "amount": "{$price}" }, { "if": "{$change > 0}", "address": "{trigger.address}", "amount": "{$change}" } ] } }, { "app": "state", "state": "{ var['owner_' || $id] = trigger.address; // new owner var['price_' || $id] = false; // not on sale any more response['message'] = 'sold to ' || trigger.address; }" } ] } ] } } ]
Technical information
Fees:
3,177
bytes
(405 headers, 2772 payload)
TPS fee:
0
bytes
Actual TPS fee:
0
bytes
Level:
11718072
Witnessed level:
11718062
Last ball unit:
+9YtiVEPo8GJgbBsr2BxpeXpqHtjKm3FDC1jwDTHBpM=
Main chain index:
11325951
Latest included mc index:
11325950
Status:
stable/confirmed/final