Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

3a6f6b2c139ea71a694c34377ab4329969cc3b71bb1ff21858fae11fd8a93882
Timestamp (utc)
2021-08-11 15:46:24
Fee Paid
0.00001416 BSV
(
0.04001249 BSV
-
0.03999833 BSV
)
Fee Rate
501.5 sat/KB
Version
1
Confirmations
289,882
Size Stats
2,823 B

4 Outputs

Total Output:
0.03999833 BSV
  • jrunM4{"in":1,"ref":["1f0abf8d94477b1cb57629d861376616f6e1d7b78aba23a19da3e6169caf489e_o2","native://Jig","4a1929527605577a6b30710e6001b9379400421d8089d34bb0404dd558529417_o1","f97d4ac2a3d6f5ed09fad4a4f341619dc5a3773d9844ff95c99c5d4f8388de2f_o1"],"out":["6764a5364fe03a9c434d4feb0f5c89908e934996dcbbe82c820c881bc1fee512","c214e0438e3c544d019a355f02f5c1609b8e28a9fda29fa30f24f8257945618d"],"del":[],"cre":["ms3XuecKJpdh4o6TteFWvK5g78LfmVa6pQ"],"exec":[{"op":"DEPLOY","data":["class Coin extends Jig {\r\n\r\n init (coinCollection, index, owner, userId, nftId, image) {\r\n Coin.auth();\r\n this.coinCollection = coinCollection\r\n this.index = index\r\n this.owner = owner\r\n this.userId = userId\r\n this.nftId = nftId\r\n this.image = image\r\n }\r\n\r\n send (to, relicaKey) {\r\n if (Coin.relicaKey !== this.hashRelicaKey(relicaKey)) {\r\n throw new Error('Invalid relica key');\r\n }\r\n this.owner = to\r\n }\r\n\r\n setUserId (userId, relicaKey) {\r\n if (Coin.relicaKey !== this.hashRelicaKey(relicaKey)) {\r\n throw new Error('Invalid relica key');\r\n }\r\n this.userId = userId;\r\n }\r\n\r\n hashRelicaKey(relicaKey) {\r\n return Hex.bytesToString(sha256(relicaKey));\r\n }\r\n}",{"deps":{"Hex":{"$jig":1},"Jig":{"$jig":2},"sha256":{"$jig":3}},"relicaKey":"1c46e6d7b9c32e88d9a47d58d47a390e1be5d302ce6f1c81b200929d9d4b86e5"}]},{"op":"UPGRADE","data":[{"$jig":0},"class CoinCollection extends Jig {\r\n init (name, supply, image) {\r\n CoinCollection.auth();\r\n expect(name).toBeString()\r\n expect(supply).toBeInteger()\r\n this.name = name\r\n this.maxCoints = supply\r\n this.image = image\r\n this.coinCreated = 0\r\n }\r\n\r\n mint(owner, userId, nftId) {\r\n CoinCollection.auth();\r\n if (this.coinCreated >= this.maxCoints) {\r\n throw new Error('no more coints left')\r\n }\r\n\r\n this.coinCreated = this.coinCreated + 1\r\n return new Coin(this, this.coinCreated, owner, userId, nftId, this.image)\r\n }\r\n}",{"deps":{"Coin":{"$jig":5},"Jig":{"$jig":2},"expect":{"$jig":4}}}]}]}
    https://whatsonchain.com/tx/3a6f6b2c139ea71a694c34377ab4329969cc3b71bb1ff21858fae11fd8a93882