Skip to content

Monero RPC Interface

René Brunner edited this page Mar 13, 2022 · 1 revision

There is a server that can manage Monero wallets that is part of the core Monero software distribution in the form of the monero-wallet-rpc binary.

It uses JSON RPC for communication between clients and server. For the commands see e.g. the documentation on the getmonero.org website. The ultimate reference is this header file in the Monero source because that's sure to be fully up-to-date which is not necessarily true for other documentations.

The Monero Ecosystem GitHub offers a number of libraries in various programming languages that facilitate using the RPC server.

It has a number of limitations; e.g. you can only work with 1 wallet at a time. There are no callbacks; to wait for something you have to make repeated calls.

Still, you can see the set of these RPC commands as a second "official" Monero wallet API, beside wallet2.h, and it's fairly feature-complete.

Clone this wiki locally