Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

d79b29ac728a5f1ea91cae3e49d47882ca12bd71d00973c87aeac64752065d07
Timestamp (utc)
2021-10-21 16:42:49
Fee Paid
0.00001222 BSV
(
0.00038886 BSV
-
0.00037664 BSV
)
Fee Rate
500.4 sat/KB
Version
1
Confirmations
272,507
Size Stats
2,442 B

4 Outputs

Total Output:
0.00037664 BSV
  • jrunMo{"in":0,"ref":["native://Jig","f97d4ac2a3d6f5ed09fad4a4f341619dc5a3773d9844ff95c99c5d4f8388de2f_o1","1f0abf8d94477b1cb57629d861376616f6e1d7b78aba23a19da3e6169caf489e_o2","4a1929527605577a6b30710e6001b9379400421d8089d34bb0404dd558529417_o1"],"out":["8fefdef1c9811e36b750cf6b1097d1a334f1449817275b9615b9dafe64ff27ea","7526bd37d342599349eec0614e3a87ffe26002eac6f5ebfb270c27c972df4ff5"],"del":[],"cre":["mm4tEZZrTuMnKoNddHDThitpim466kUHwv","mm4tEZZrTuMnKoNddHDThitpim466kUHwv"],"exec":[{"op":"DEPLOY","data":["class NftCollection extends Jig {\r\n init (name, supply, staticImage, animationImage) {\r\n NftCollection.auth();\r\n expect(name).toBeString()\r\n expect(supply).toBeInteger()\r\n this.name = name\r\n this.maxNfts = supply\r\n this.staticImage = staticImage\r\n this.animationImage = animationImage\r\n this.nftCreated = 0\r\n }\r\n\r\n mint(owner, userId, nftId) {\r\n NftCollection.auth();\r\n if (this.nftCreated >= this.maxNfts) {\r\n throw new Error('no more nft left')\r\n }\r\n\r\n this.nftCreated = this.nftCreated + 1\r\n return new Nft(this, this.nftCreated, owner, userId, nftId)\r\n }\r\n}",{"deps":{"Jig":{"$jig":0},"Nft":{"$jig":5},"expect":{"$jig":1}},"metadata":{"animationImage":{"$und":1},"staticImage":{"$und":1}}},"class Nft extends Jig {\r\n\r\n init (nftCollection, index, owner, userId) {\r\n Nft.auth();\r\n this.nftCollection = nftCollection\r\n this.index = index\r\n this.owner = owner\r\n this.userId = userId\r\n }\r\n\r\n send (to, relicaKey) {\r\n if (Nft.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 (Nft.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":2},"Jig":{"$dup":["1","deps","Jig"]},"sha256":{"$jig":3}},"relicaKey":"1c46e6d7b9c32e88d9a47d58d47a390e1be5d302ce6f1c81b200929d9d4b86e5"}]}]}
    https://whatsonchain.com/tx/d79b29ac728a5f1ea91cae3e49d47882ca12bd71d00973c87aeac64752065d07