Closed xloem closed 3 years ago
Host sv.electrumx.cash Ports 50002 (SSL) 50001 (TCP) Server ElectrumX 1.15.0 Daemon /Bitcoin SV:1.0.5/ This server is run by Neil Booth, the developer of ElectrumX.
sending a transaction to blockchain.transaction.broadcast:
blockchain.transaction.broadcast
0100000001e513b7e2b0008d2ed70ae03526a357482e38a298d9f6ba820ca82a8a7d274f7e010000006b483045022100dfea63f87d71af261fc3318658b5d8f8c5e52814e1739cd8c6db24f9c67687c102204ad3101f3fad178570c0661a279d1f41249830d93c48c879da5a4710443830b64121030d0cfcf71ec275b50b61c3fcc1cbe842bd5ec99ce546e0bb45eea774d9a863a2ffffffff0100000000000000007b006a2231394878696756345179427633744870515663554551797131707a5a56646f4175740c68656c6c6f2d776f726c640a186170706c69636174696f6e2f6f637465742d73747265616d0662696e617279283733366462636362633833323666636165643066636235343666636339303033346462623764666600000000
server replies with error:
the transaction was rejected by network rules. Expected type string, got object [{'hash': 'f7c212eb60b3d62fc91e2c3668ab947304dcb8a7b3ab7678a9347584f9855ead', 'version': 1, 'i nputs': [{'prevTxId': '7e4f277d8a2aa80c82baf6d998a2382e4857a32635e00ad72e8d00b0e2b713e5', 'out putIndex': 1, 'sequenceNumber': 4294967295, 'script': '483045022100dfea63f87d71af261fc3318658b 5d8f8c5e52814e1739cd8c6db24f9c67687c102204ad3101f3fad178570c0661a279d1f41249830d93c48c879da5a4 710443830b64121030d0cfcf71ec275b50b61c3fcc1cbe842bd5ec99ce546e0bb45eea774d9a863a2', 'scriptStr ing': '72 0x3045022100dfea63f87d71af261fc3318658b5d8f8c5e52814e1739cd8c6db24f9c67687c102204ad3 101f3fad178570c0661a279d1f41249830d93c48c879da5a4710443830b641 33 0x030d0cfcf71ec275b50b61c3fc c1cbe842bd5ec99ce546e0bb45eea774d9a863a2'}], 'outputs': [{'satoshis': 0, 'script': '006a223139 4878696756345179427633744870515663554551797131707a5a56646f4175740c68656c6c6f2d776f726c640a1861 70706c69636174696f6e2f6f637465742d73747265616d0662696e6172792837333664626363626338333236666361 656430666362353436666363393030333464626237646666'}], 'nLockTime': 0}]
This was an error in my code. Thanks all for your infinite patience.
sending a transaction to
blockchain.transaction.broadcast
:server replies with error: