Skip to main content
added 5 characters in body
Source Link
user36303
  • 34.9k
  • 2
  • 58
  • 123

TryingI am trying to follow the example from https://getmonero.org/resources/developer-guides/wallet-rpc.html#getbalance

and getting this result:

    $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"getbalance","params":{"account_index":0}}' -H 'Content-Type: application/json'
    {
      "error": {
        "code": -32601,
        "message": "Method not found"
      },
      "id": "0",
      "jsonrpc": "2.0"
    }

?????

Trying to follow the example from https://getmonero.org/resources/developer-guides/wallet-rpc.html#getbalance

and getting this result:

    $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"getbalance","params":{"account_index":0}}' -H 'Content-Type: application/json'
    {
      "error": {
        "code": -32601,
        "message": "Method not found"
      },
      "id": "0",
      "jsonrpc": "2.0"
    }

?????

I am trying to follow the example from https://getmonero.org/resources/developer-guides/wallet-rpc.html#getbalance

and getting this result:

    $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"getbalance","params":{"account_index":0}}' -H 'Content-Type: application/json'
    {
      "error": {
        "code": -32601,
        "message": "Method not found"
      },
      "id": "0",
      "jsonrpc": "2.0"
    }

?????

Source Link

JSON-RPC Not Working as Shown in Wallet Guide

Trying to follow the example from https://getmonero.org/resources/developer-guides/wallet-rpc.html#getbalance

and getting this result:

    $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"getbalance","params":{"account_index":0}}' -H 'Content-Type: application/json'
    {
      "error": {
        "code": -32601,
        "message": "Method not found"
      },
      "id": "0",
      "jsonrpc": "2.0"
    }

?????