I'm new to Monero. When I'm using curl, all the wallet RPC calls are showing "method not found" error but getnumberofblocks
method is working. I'm running the daemon, is it is necessary to run the wallet RPC? If yes, how do I run that?
For wallet operations over RPC, you need to have the monero-wallet-rpc
running. An example command to run the wallet RPC server:
monero-wallet-rpc --wallet-file /some/wallet --rpc-bind-port 12345 \
--prompt-for-password
(replacing the wallet file path and port number above to your choosing).
Other options can be specified also, seen via running monero-wallet-rpc --help
.
All of the wallet RPC methods are documented here and daemon RPC methods here.