What is the Monero wallet RPC?
The wallet RPC provides a robust automated interface, allowing custom applications to perform operations that were previously only available in the CLI.
Quick Answer
The wallet RPC is handled by 'monero-wallet-rpc', exposing an interface (defaulting to port 18082) for tasks such as 'get_balance', 'transfer', and 'create_address'. This allows software to automate payment handling and account organization. For security, ensure the RPC server is never exposed to the public internet; use local tunnels, restricted networks, or authentication layers to keep the interface secure.
Core Capabilities
The wallet RPC enables nearly all functionality found in the CLI. It supports multi-account management, subaddress generation, and automated transaction signing, making it the standard choice for building payment gateways or merchant services.
Access Control
Directly exposing your wallet RPC to the public internet is dangerous, as it grants complete access to your wallet funds. Implement secure access by restricting connections to trusted hosts or using encrypted SSH tunnels.
Best Wallet and technical wallet workflows
Best Wallet is our desktop Monero recommendation, with inspectable source and documented advanced controls in its permanent GitHub repository. Use those materials to understand the implementation. A general Monero RPC method or terminal example is not automatically an exposed Best Wallet API or application command; verify actual integration support before building around it.
Explore documented Best Wallet controlsSources
Related reading
Key takeaways
- Wallet RPC facilitates full automation of operations.
- Avoid public exposure; limit access via secure tunnels.
- The interface supports most standard CLI operations.
