Closed JohnTravolski closed 2 weeks ago
you need to connect to the RPC port, not the TCP port
you should define a rpc port in the config, like SERVICES = tcp://:10070,rpc://:8070
and then connect to that
you need to connect to the RPC port, not the TCP port you should define a rpc port in the config, like
SERVICES = tcp://:10070,rpc://:8070
and then connect to that
This solved it, I knew it was something easy. Thanks.
I'm trying to run any of the RPC commands using the provided
electrumx_rpc
Python script, but no matter what, I get an unknown method error:This is electrumx 1.16.0 on Python 3.12.3 on Xubuntu 24.04.
The
electrumx.conf
file looks like this:The
electrumx.service
file looks like this:I'm able to get a wallet like Sparrow to connect to electrumx just fine. I just can't figure out how to do the RPC commands.
I'm sure I'm just missing something obvious but I can't figure it out. Would somebody please point me on the right track?