@electrumsv is on PowPing!

PowPing is a place where you can earn Bitcoin simply by socializing, for FREE.
Never tried Bitcoin? It's OK! Just come, socialize, and earn Bitcoin.
Check out electrumsv's activities
Total Economy: 0 USD
Things I need to not have to reteach myself number 323234122. The Bitcoin SV node runs a REST server which you can enable with the `-rest` command-line argument. It does not require authentication and appears to only be accessible on localhost. You can use it for to get useful data like transactions in binary form: >>> r = requests.get("http://127.0.0.1:18332/rest/tx/95037d196cf6bf8c1c140e337c9551c073e9f0a9414048647f89a32d638b24b3.bin") >>> r.content b'\x02\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x03Y\x01\x01\xff\xff\xff\xff\x01\x00\xf2\x05*\x01\x00\x00\x00\x19v\xa9\x14\xccwu\xf2\x04\x8el\xa3\xc0ht\x84\x14\x98\xa0\xdd\xfb\xe9\x02\xd3\x88\xac\x00\x00\x00\x00' >>> r.status_code 200 Hexadecimal: >>> r = requests.get("http://127.0.0.1:18332/rest/tx/95037d196cf6bf8c1c140e337c9551c073e9f0a9414048647f89a32d638b24b3.hex") >>> r.text '02000000010000000000000000000000000000000000000000000000000000000000000000ffffffff03590101ffffffff0100f2052a010000001976a914cc7775f2048e6ca3c06874841498a0ddfbe902d388ac00000000\n' And as JSON: >>> r = requests.get("http://127.0.0.1:18332/rest/tx/95037d196cf6bf8c1c140e337c9551c073e9f0a9414048647f89a32d638b24b3.json") >>> r.text '{"txid": "95037d196cf6bf8c1c140e337c9551c073e9f0a9414048647f89a32d638b24b3","hash": "95037d196cf6bf8c1c140e337c9551c073e9f0a9414048647f89a32d638b24b3","version": 2,"size": 88,"locktime": 0,"vin": [{"coinbase": "590101","sequence": 4294967295}],"vout": [{"value": 50.00,"n": 0,"scriptPubKey": {"asm": "OP_DUP OP_HASH160 cc7775f2048e6ca3c06874841498a0ddfbe902d3 OP_EQUALVERIFY OP_CHECKSIG","hex": "76a914cc7775f2048e6ca3c06874841498a0ddfbe902d388ac","reqSigs": 1,"type": "pubkeyhash","addresses": ["mzA5FTsLBcqyjFTWFtuJoGPnqaDoGZ8j3N"\n]}}],"blockhash": "36d32a20a6ca43ac3aeb564f4d6ad4a471a14da4886ea384ccea702e2ab41e89","hex": "02000000010000000000000000000000000000000000000000000000000000000000000000ffffffff03590101ffffffff0100f2052a010000001976a914cc7775f2048e6ca3c06874841498a0ddfbe902d388ac00000000"}\n' Will this display correctly? No idea. Add the usual disclaimer that ElectrumSV does not accept donations, so please save your tips for other worthy comments and posts you'd like to see more of on Powping.