Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

3969a2268912bd7db292bffbadb019499f0c0b8bec707b8d1e9b5fb72a356e80
Timestamp (utc)
2021-04-29 13:55:51
Fee Paid
0.00001291 BSV
(
0.09964303 BSV
-
0.09963012 BSV
)
Fee Rate
500.5 sat/KB
Version
1
Confirmations
308,510
Size Stats
2,579 B

4 Outputs

Total Output:
0.09963012 BSV
  • jrunMù{"in":0,"ref":["native://Jig"],"out":["3aa285a65fa105b0d4cf3e0be6513d2f65432958f7ba5fa0ad5ee00184a3ea4b","e35f56445c1917ad173cbe9d0a36b1b41bca860da9afae2831d427a52e099953"],"del":[],"cre":["mzXGPBW15L2tR8sFwfkuM6os6UwUkvspRw","mzXGPBW15L2tR8sFwfkuM6os6UwUkvspRw"],"exec":[{"op":"DEPLOY","data":["class Liar extends Jig {\n init(no, owner) {\n const minting = caller === this.constructor;\n if (!minting) throw new Error('Must create using mint()');\n this.sender = caller && caller.owner ? caller.owner : null;\n this.no = no;\n if (owner) this.owner = owner;\n }\n\n static mint(no, image, owner) {\n return new this(no, owner);\n }\n\n send(to) {\n this.sender = this.owner;\n this.owner = to;\n }\n\n}",{"deps":{"Jig":{"$jig":0},"OrderLock":{"$jig":2}},"metadata":{"emoji":"🕹️"}},"class OrderLock { constructor(address, satoshis) { if (typeof address !== \"string\" || address.length < 27) { throw new TypeError(\"Invalid address\"); } if (typeof satoshis !== \"number\" || !Number.isInteger(satoshis)) { throw new Error(\"Invalid satoshis\"); } if (satoshis > Number.MAX_SAFE_INTEGER) { throw new Error(\"Invalid. Max: \" + Number.MAX_SAFE_INTEGER); } if (satoshis < 546) { throw new Error(\"Dust\"); } this.address = address; this.satoshis = satoshis; } script() { const output = this.serializeOutput(this.address, this.satoshis); const hashOutput = this.sha256sha256(output); return ( OrderLock.scriptTemplate.slice(0, 2) + hashOutput + OrderLock.scriptTemplate.slice(66) ); } serializeOutput(address, satoshis) { const satoshisHex = this.serializeSatoshis(satoshis); const satoshisHexBytes = Hex.stringToBytes(satoshisHex); const outputScriptBytes = Hex.stringToBytes(this.getP2PKHScript(address)); const lengthBytes = [25]; return satoshisHexBytes.concat(lengthBytes, outputScriptBytes); } serializeSatoshis(satoshis) { let numberHex = (\"0000000000000000\" + satoshis.toString(16)).slice(-16); return numberHex .match(/[a-fA-F0-9]{2}/g) .reverse() .join(\"\"); } getP2PKHScript(address) { const decoded = Base58.decode(address); const hex = Hex.bytesToString(decoded); return asm(`OP_DUP OP_HASH160 ${hex} OP_EQUALVERIFY OP_CHECKSIG`); } sha256sha256(output) { return Hex.bytesToString(sha256(sha256(output))); } domain() { return 0; } }",{"deps":{}}]}]}
    https://whatsonchain.com/tx/3969a2268912bd7db292bffbadb019499f0c0b8bec707b8d1e9b5fb72a356e80