Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

5f3c570abfc52451ee87ef9f2ff5c607471c9ab1522d48bebce8a9db2fc1ce10
Timestamp (utc)
2021-09-03 05:58:01
Fee Paid
0.00001315 BSV
(
0.00635276 BSV
-
0.00633961 BSV
)
Fee Rate
500.9 sat/KB
Version
1
Confirmations
285,146
Size Stats
2,625 B

4 Outputs

Total Output:
0.00633961 BSV
  • jrunM”{"in":1,"ref":["1f0abf8d94477b1cb57629d861376616f6e1d7b78aba23a19da3e6169caf489e_o2","native://Jig","4a1929527605577a6b30710e6001b9379400421d8089d34bb0404dd558529417_o1","f97d4ac2a3d6f5ed09fad4a4f341619dc5a3773d9844ff95c99c5d4f8388de2f_o1"],"out":["702755501dcd4fd0bde0a7fdacdd9877227e65667b30d00793ab765a5382de62","c49d26938be1627eba03d168a6dccee4ce39c4623f3a1df27f6d440bfd62f584"],"del":[],"cre":["mwjS1G9nz1Mj6DtqC9gcWwrqkjuRdvMDpV"],"exec":[{"op":"DEPLOY","data":["class Coin extends Jig {\r\n\r\n init (coinCollection, index, owner, userId, nftId) {\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 }\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, staticImage, animationImage) {\r\n CoinCollection.auth();\r\n expect(name).toBeString()\r\n expect(supply).toBeInteger()\r\n this.name = name\r\n this.maxCoins = supply\r\n this.staticImage = staticImage\r\n this.animationImage = animationImage\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.maxCoins) {\r\n throw new Error('no more coins left')\r\n }\r\n\r\n this.coinCreated = this.coinCreated + 1\r\n return new Coin(this, this.coinCreated, owner, userId, nftId)\r\n }\r\n}",{"deps":{"Coin":{"$jig":5},"Jig":{"$jig":2},"expect":{"$jig":4}},"metadata":{"animationImage":{"$und":1},"staticImage":{"$und":1}}}]}]}
    https://whatsonchain.com/tx/5f3c570abfc52451ee87ef9f2ff5c607471c9ab1522d48bebce8a9db2fc1ce10