Monerod command:
monerod --rpc-bind-ip 0.0.0.0 --restricted-rpc --confirm-external-bind --public-node --rpc-payment-address xxxxx --rpc-payment-credits 250 --rpc-payment-difficulty 1000
Curl request:
curl -X POST 127.0.0.1:18081/json_rpc -H 'Content-Type:application/json' --data "{"jsonrpc":"2.0","id":"0","method":"rpc_access_data"}"
Response:
{
"error": {
"code": -32700,
"message": "Parse error"
},
"id": 0,
"jsonrpc": "2.0"
How can I successful retrieve rpc payment information from monerod rpc?