Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

4ef1289f756b651dbcd6adb0faf4a14b0d314ec912d544d246b8a10fd072ff5e
Timestamp (utc)
2021-05-13 16:02:19
Fee Paid
0.00002185 BSV
(
0.04979318 BSV
-
0.04977133 BSV
)
Fee Rate
500.3 sat/KB
Version
1
Confirmations
299,893
Size Stats
4,367 B

5 Outputs

Total Output:
0.04977133 BSV
  • jrunMÓ{"in":0,"ref":["native://Jig","b44a203acd6215d2d24b33a41f730e9acf2591c4ae27ecafc8d88ef83da9ddea_o1","f97d4ac2a3d6f5ed09fad4a4f341619dc5a3773d9844ff95c99c5d4f8388de2f_o1"],"out":["153bde2b4dbcd29dea604d463ed685b44d787cf41eae70a4b441ad14476e61f2","d2752246f5dc1e5d3064d98d604dbc2de521a7c08016f750b1d382b298d345d6","5b4ace8b95279a5f103e11bfca9f87faf25a4a4b905b270ad84e8a5732101ee4"],"del":[],"cre":["mrFq6ERhfWusvpec6C4JHiCbMDbFtU7ekA","mrFq6ERhfWusvpec6C4JHiCbMDbFtU7ekA","mrFq6ERhfWusvpec6C4JHiCbMDbFtU7ekA"],"exec":[{"op":"DEPLOY","data":["class TokenPowNftFactory extends Jig {\n static createNft(name, author, description, emoji, image, txtid, assetIds, owner) {\n this.nftCount ++;\n // Control the amount ever created of this item\n if (this.nftCount > 10 ) throw new Error('Art is in the Mind not in the Gif, Move on ... !');\n\n return new TokenPowNft(name, author, description, emoji, image, txtid, assetIds, owner);\n }\n}",{"deps":{"Jig":{"$jig":0},"TokenPowNft":{"$jig":4}},"friends":[{"$jig":1},{"$jig":5}],"interactive":false},"class TokenPowNft extends Jig {\n init (name, author, description, emoji, image, avatarTxId, assetIds, owner) {\n \n expect(caller).toBe(TokenPowNftFactory);\n\n this.sender = caller && caller.owner ? caller.owner : null;\n\n this.metadata = {\n name,\n author,\n\t description,\n\t emoji,\n image,\n avatarTxId,\n\t assetIds\n }\n\n this.name = name;\n this.author = author;\n this.description = description;\n this.emoji = emoji;\n \n this.avatarTxId = avatarTxId;\n \n let result = '';\n \n if(assetIds){\n if(assetIds.length > 0){\n assetIds.forEach(asset => {\n result+=asset.txtid;\n if(asset.description){\n result+=\"=\" + asset.description;\n }\n result+=\";\"\n });\n }\n }\n\n this.assets = result;\n \n this.owner = owner;\n }\n\n send(to) {\n this.sender = this.owner;\n this.owner = to;\n }\n\n static mint(name, author, description, emoji, image, avatarTxId, assetIds, owner) {\n return new TokenPowNft(name, author, description, emoji, image, avatarTxId, assetIds, owner);\n }\n}",{"deps":{"Jig":{"$dup":["1","deps","Jig"]},"TokenPowNftFactory":{"$jig":3},"expect":{"$jig":2}}},"class OrderLock {\n constructor(address, satoshis) {\n if (typeof address !== \"string\" || address.length < 27) {\n throw new TypeError(\"Invalid address\");\n }\n if (typeof satoshis !== \"number\" || !Number.isInteger(satoshis)) {\n throw new Error(\"Invalid satoshis\");\n }\n if (satoshis > Number.MAX_SAFE_INTEGER) {\n throw new Error(\"Invalid. Max: \" + Number.MAX_SAFE_INTEGER);\n }\n if (satoshis < 546) {\n throw new Error(\"Dust\");\n }\n this.address = address;\n this.satoshis = satoshis;\n }\n script() {\n const output = this.serializeOutput(this.address, this.satoshis);\n const hashOutput = this.sha256sha256(output);\n return (\n OrderLock.scriptTemplate.slice(0, 2) +\n hashOutput +\n OrderLock.scriptTemplate.slice(66)\n );\n }\n serializeOutput(address, satoshis) {\n const satoshisHex = this.serializeSatoshis(satoshis);\n const satoshisHexBytes = Hex.stringToBytes(satoshisHex);\n const outputScriptBytes = Hex.stringToBytes(this.getP2PKHScript(address));\n const lengthBytes = [25];\n return satoshisHexBytes.concat(lengthBytes, outputScriptBytes);\n }\n serializeSatoshis(satoshis) {\n let numberHex = (\"0000000000000000\" + satoshis.toString(16)).slice(-16);\n return numberHex\n .match(/[a-fA-F0-9]{2}/g)\n .reverse()\n .join(\"\");\n }\n getP2PKHScript(address) {\n const decoded = Base58.decode(address);\n const hex = Hex.bytesToString(decoded);\n return asm(`OP_DUP OP_HASH160 ${hex} OP_EQUALVERIFY OP_CHECKSIG`);\n }\n sha256sha256(output) {\n return Hex.bytesToString(sha256(sha256(output)));\n }\n domain() {\n return 0;\n }\n}",{"deps":{}}]}]}
    https://whatsonchain.com/tx/4ef1289f756b651dbcd6adb0faf4a14b0d314ec912d544d246b8a10fd072ff5e