Unit ID
0TrnBVlQEwQHnOX2zfthnn8bnnICF710HIBVlZvD7bY=
Received
17.07.2021 18:54:11
Confirmation delay (full node)
6 minutes 21 seconds
Confirmation delay (light node)
7 minutes 31 seconds
Messages
Definition
Definition: [ "autonomous agent", { "getters": "{ $fetchNFT = $asset => { $unitInfo = unit[$asset]; if ($unitInfo.sequence AND $unitInfo.sequence != "good") bounce("Bad unit"); $definedBy = $unitInfo.authors[0].authentifiers ? $unitInfo.authors[0].address //Is a person : unit[$unitInfo.trigger_unit].authors[0].address; //Can be either AA (they can also define NFTs) or a person $metadata = $unitInfo.messages[[.app='data']].payload; $assetMetadata = $unitInfo.messages[[.app='asset']].payload; return {asset: $assetMetadata, meta: $metadata}; }; }", "messages": [ { "if": "{NOT var["a"]}", "app": "data", "payload": { "name": "Untitled", "author": "{trigger.address}", "ipfs": "Qmmmsdmjsdjf", "type": "IMG", "decimals": 0 } }, { "app": "asset", "payload": { "cap": 1, "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": "{var["a"]}", "app": "data", "payload": { "nft": "{$fetchNFT(var["a"])}" } }, { "app": "state", "state": "{ var["a"] = response_unit; }" } ] } ]
Technical information
Fees:
1,900 bytes
(452 headers, 1448 payload)
Level:2087770
Witnessed level:2087763
Main chain index:2079451
Latest included mc index:2079450
Status:stable/confirmed/final