Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

4e0f1405a3b8d030b4bff42211ffa678035d537b01dca52a9d4923d9600ca9f6
Timestamp (utc)
2021-05-02 19:10:04
Fee Paid
0.00001341 BSV
(
0.09902965 BSV
-
0.09901624 BSV
)
Fee Rate
500.1 sat/KB
Version
1
Confirmations
304,015
Size Stats
2,681 B

4 Outputs

Total Output:
0.09901624 BSV
  • jrunM^ {"in":0,"ref":["7d14c868fe39439edffe6982b669e7b4d3eb2729eee7c262ec2494ee3e310e99_o1"],"out":["096e50bfa3d6c65c9434d38ae8dd981d022956e46bb34250a5647eb79d90d146","e35f56445c1917ad173cbe9d0a36b1b41bca860da9afae2831d427a52e099953"],"del":[],"cre":["mzXGPBW15L2tR8sFwfkuM6os6UwUkvspRw","mzXGPBW15L2tR8sFwfkuM6os6UwUkvspRw"],"exec":[{"op":"DEPLOY","data":["class LearnSumBsv extends Token {\n init(owner, amount, message) {\n\tthis.owner = owner\n this.message = message\n\tthis.amount = amount\n }\n static setFriends(friends) {\n this.friends = friends;\n }\n mint (owner, amount, message) {\n this.owner = to;\n this.amount = amount;\n\tthis.message = message;\n }\n send (to) {\n this.owner = to;\n }\n}",{"decimals":2,"deps":{"Token":{"$jig":0}},"friends":[{"$jig":2}],"interactive":false,"metadata":{"emoji":"🎓"},"symbol":"TEACHnSHARE","total":21000000},"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/4e0f1405a3b8d030b4bff42211ffa678035d537b01dca52a9d4923d9600ca9f6