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
4f9i/NKiXm0iLMLHRmk8LfLH6Tf+8P74M5uz1oK9kQM=
Received
22.10.2019 08:42:30
Confirmation delay (full node)
4 minutes 19 seconds
Confirmation delay (light node)
5 minutes 57 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
U0kPL35hdqvUbdSOOm+nNUqQT9uTzQ3PvT6Npr2W0A0=
Parents
d3Bk3PMLRrmzqCbwaWL/SxkcRV7r9Ft9zDhgULfQV+k=
Messages
Definition
Address:
6DQ6CCQGLQYACVWGADBEXRWTB4BPCQ45
Definition:
[ "autonomous agent", { "init": "{ // attestor address and name $attestor = 'BK54UAWZ6KTI3K7PWH7PRPHVYWTIZZXH'; $attestor_name = 'email'; // general variables $return_fee = 1000; $attested_user_id = attestation[[attestors=$attestor, address=trigger.address]].user_id; if (!$attested_user_id) bounce("Your address is not attested by "||$attestor_name||" attestor "|| $attestor); $balance_key = "user_id_"||$attested_user_id||"_balance"; }", "messages": { "cases": [ { "if": "{!trigger.data.withdraw}", "messages": [ { "app": "state", "state": "{ var[$balance_key] = var[$balance_key] + trigger.output[[asset=base]]; response['message'] = "Total balance for your "||$attestor_name||" attested addresses will be " || var[$balance_key] || " bytes."; }" } ] }, { "init": "{ if (!var[$balance_key]) bounce("Your address is attested but the balance for your account is not found"); if (typeof(trigger.data.withdraw)!='number') bounce("Please enter number of bytes in the 'withdraw' data field. Your balance is " || var[$balance_key] || " bytes."); if (var[$balance_key] < trigger.data.withdraw) bounce('Not enough funds. The maximum amount you can withdraw is ' || var[$balance_key] || ' bytes.'); if (trigger.output[[asset=base]] < $return_fee) bounce('The sending amount is less than the transaction fee '|| $return_fee ||' bytes. Please increase it.'); }", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{trigger.address}", "amount": "{trigger.data.withdraw + trigger.output[[asset=base]] - $return_fee}" } ] } }, { "app": "state", "state": "{ response['message'] = 'You will receive ' || (trigger.data.withdraw + trigger.output[[asset=base]] - $return_fee) || ' bytes to your account (' || trigger.data.withdraw || ' bytes from your account + '|| trigger.output[[asset=base]] || ' bytes bounced back - '|| $return_fee || ' bytes transaction fee)'; var[$balance_key] = var[$balance_key] - trigger.data.withdraw; }" } ] } ] } } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
2,627
bytes
(353 headers, 2274 payload)
Level:
1114678
Witnessed level:
1114670
Last ball unit:
eQI9RzpMxD9EZw0n7IjKt6qSINEBa0THrScaLuV2QFQ=
Main chain index:
1113437
Latest included mc index:
1113436
Status:
stable/confirmed/final