Post
Topic
Board Mining (Altcoins)
Re: PhoenixMiner 3.0c: fastest Ethereum/Ethash miner with lowest devfee (Windows)
by
NicoxDJ
on 20/07/2018, 08:09:29 UTC
how to get jsonrpc with curl for this miner?
I'm trying this and it's not working

curl -X POST -H "Content-Type: application/json" -d '{"id":0,"jsonrpc":"2.0","method":"miner_getstat1"}' http://IP:3333

I didn't make it with curl but I made it with python I had to add a newline character \n at the end of the request.
like this {"id":0,"jsonrpc":"2.0","method":"miner_getstat1"}\n


Hey Germini,
Can you post your code please?
I found one python code somewhere here, but neither with \n it does not working :/