Transaction

62aa02db9f1dc11de6dcc4731bd9f54ca2347172419183fca54e88ef0cee1094
( - )
221,386
2020-02-06 02:55:37
1
3,337 B

3 Outputs

Total Output:
  • j"19HxigV4QyBv3tHpQVcUEQyq1pzZVdoAutM9 <!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="description" content="A simple page to broadcast any type of script witht he MoneyButton"> <meta name="keywords" content="Bitcoin,BSV,SCript"> <meta name="author" content="Gal Buki (torusJKL)"> <title>Broadcast any script</title> <script src="https://www.moneybutton.com/moneybutton.js"></script> <style> html { font-size: 10px; } body { font-family: Helvetica, Arial, sans-serif; font-size: 1.6rem; background-color: #c4e0ff; } input { display: block; margin: 0; padding: var(--inputPaddingV) var(--inputPaddingH); color: inherit; width: 100%; font-family: inherit; font-size: var(--inputFontSize); font-weight: inherit; line-height: var(--inputLineHeight); border: none; border-radius: 0.4rem; transition: box-shadow var(--transitionDuration); } </style> </head> <body> <h1>Broadcast any script</h1> <div> <span>Script: <input type="text" id="scriptInput" value="OP_TRUE" onInput="updateScript()" width="80%"></input></span> <br/> <span>Amount:<input id="amount" value="2000" onInput="updateScript()"></input>Satoshi</span> <br/><br/> </div> <div id="mb"> </div> <div id="result"></div> <script> const div = document.getElementById('mb'); updateScript(); function updateScript(){ var scriptInput = document.getElementById('scriptInput').value.trim(); console.log(`Script: ${scriptInput}`); var amountInput = document.getElementById('amount').value.trim(); amountInput /= 100000000; console.log(`amount: ${amountInput}`); moneyButton.render(div, { outputs: [ { script: scriptInput, amount: amountInput, currency: 'BSV' } ], label: '> Do it!', clientIdentifier: "b099b8d16f1567825e7de603cdeafbaf", onPayment: function (arg) { console.log('onPayment', arg); showResult(arg.txid); }, onError: function (arg) { console.log('onError', arg); showResult(); } }); } function showResult(txid){ var resultElem = document.getElementById('result'); if (txid == null || txid.length < 64){ resultElem.innerHTML = "<p>There was an issue. Please check the console for details.</p>" return; } resultElem.innerHTML = `<p>Success. <a href="https://whatsonchain.com/tx/${txid}" target="_blank">Open in block explorer</a></p>`; } </script> </body> </html> text/htmlUTF-8BroadcastAnyScript.html
    https://whatsonchain.com/tx/62aa02db9f1dc11de6dcc4731bd9f54ca2347172419183fca54e88ef0cee1094