Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

dd79aa7c9becc05c428b7a3f74d44d373988ffc7ee72608fb469e92b31c6cca0
Timestamp (utc)
2021-05-02 18:09:03
Fee Paid
0.00001241 BSV
(
0.09931201 BSV
-
0.09929960 BSV
)
Fee Rate
500.6 sat/KB
Version
1
Confirmations
308,223
Size Stats
2,479 B

4 Outputs

Total Output:
0.09929960 BSV
  • jrunM•{"in":0,"ref":["7d14c868fe39439edffe6982b669e7b4d3eb2729eee7c262ec2494ee3e310e99_o1"],"out":["de766ab431bbcbc5e9723f9897547ad6a6bd73cb9cdb83899bb9479e849f4709","e35f56445c1917ad173cbe9d0a36b1b41bca860da9afae2831d427a52e099953"],"del":[],"cre":["mzXGPBW15L2tR8sFwfkuM6os6UwUkvspRw","mzXGPBW15L2tR8sFwfkuM6os6UwUkvspRw"],"exec":[{"op":"DEPLOY","data":["class LearnSumBsv extends Token {\n init(owner, message, friends) {\n\tthis.owner = owner\n this.message = message\n }\n static setFriends(friends) {\n this.friends = friends;\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/dd79aa7c9becc05c428b7a3f74d44d373988ffc7ee72608fb469e92b31c6cca0