Looking for some guidance on Monero Mining JSONRPC


Hey guys. I am currently trying to proxy some requests made by XMRig through a python script. I was wondering if there are some documentation about the JSONRPC that's being used? Are there a default endpoint where all requests should be made to? /jsonrpc ? /json_rpc ?

I saw this is the first request that XMRig sends when it launches:

"id": 1,
"jsonrpc": "2.0",
"method": "login",
"params": {
"login": "someaddress",
"pass": "x",
"agent": "XMRig/6.19.0 (Linux x86_64) libuv/1.44.2 gcc/9.3.0",
"rigid": "test",
"algo": [
I tried forwarding this to the following mining pool endpoint http://xmrpool.eu:5555/jsonrpc and it just resulted in :
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Any help here would be greatly appreciated! Thanks!