Monero restricted RPC is the safe, read-only face of a Monero node. When monerod runs with --restricted-rpc, or opens a second listener with --rpc-restricted-bind-port, it serves what wallets need (blocks, outputs, fee estimates, sending a transaction) and refuses anything that administers the node or reveals private information about it: no mining control, no peer lists, no bans, no shutdown, and, since Monero 0.18.5.3, no full listing of the transaction pool. It is the mode every public "remote node" should run, and it is how our own node serves the explorer.
Everything below is taken from src/rpc/core_rpc_server.h and core_rpc_server.cpp in the 0.18.5.4 source code and from the official monerod reference, checked in November 2026.
How to turn it on
There are two ways, and you should use only one of them:
- A separate restricted listener (recommended).
monerod --rpc-restricted-bind-ip 0.0.0.0 --rpc-restricted-bind-port 18089 --confirm-external-bindThe full API stays on 127.0.0.1:18081 for you; the restricted one is reachable by others on 18089. - Restrict the main port.
monerod --restricted-rpc --rpc-bind-ip 0.0.0.0 --confirm-external-bindThe option text reads: "Restrict RPC to view only commands and do not return privacy sensitive data in RPC calls."
The documentation warns that combining the two "does not make sense", because you end up with two restricted APIs. To advertise the node to other users' wallets, add --public-node, which requires restricted RPC. Port numbers are explained in our guide to Monero node ports.
What restricted RPC refuses
In the source, each refused endpoint is registered with a condition !m_restricted. On a restricted listener these routes simply are not served. The complete list in 0.18.5.4:
| Group | Refused endpoints |
|---|---|
| Mining | /start_mining, /stop_mining, /mining_status, calc_pow, generateblocks |
| Node control | /stop_daemon, /save_bc, /update, /pop_blocks, prune_blockchain, flush_cache, /set_bootstrap_daemon |
| Logging | /set_log_hash_rate, /set_log_level, /set_log_categories |
| Peers and network | /get_peer_list, get_connections, /get_net_stats, /set_limit, /out_peers, /in_peers |
| Bans | set_bans, get_bans, banned |
| Transaction pool | /get_transaction_pool, flush_txpool, relay_tx |
| Chain data | /get_alt_blocks_hashes, get_alternate_chains, get_coinbase_tx_sum, sync_info |
| RPC payments | rpc_access_tracking, rpc_access_data, rpc_access_account |
Three groups matter most in practice:
get_peer_listandget_connectionswould tell anyone which IP addresses your node talks to. That is the "privacy sensitive data" the option text means.get_coinbase_tx_sumadds up all coins created in a range of blocks. It is expensive and refused. This is why our network page shows no circulating-supply figure: a restricted node cannot sum every coinbase output, and we do not print estimates as measurements. The emission page explains the schedule instead.sync_inforeveals connected peers and their heights, so it is refused too.
What changed in 0.18.5.3: no full mempool list
The 0.18.5.3 release notes (6 October 2026) list: "Daemon: disable get_transaction_pool in restricted mode", alongside "improve restricted RPC privacy filtering" and "restrict get_public_nodes to public zone peers".
/get_transaction_pool returned every transaction waiting in the mempool with its fee, size, the time the node received it, and whether it had been relayed. Receive times in particular are a fingerprint of how transactions spread through the network, which is information a public node should not hand out.
What is still allowed on a restricted node:
| Endpoint | What you get |
|---|---|
/get_transaction_pool_hashes | The hash of every pool transaction (non-sensitive ones) |
/get_transaction_pool_stats | Totals: number of transactions, bytes, fees, histogram |
get_txpool_backlog (JSON-RPC) | Weight and fee per transaction, with time_in_pool set to 0 |
/get_transactions | Full details for up to 100 hashes per request |
get_info | tx_pool_size among the general node data |
So a mempool viewer built on a public node can still show how many transactions are waiting, their total size and total fees, and the hashes. It can no longer show, in one call, a table of every transaction with its arrival time. Our mempool page shows exactly what our restricted node shares and says so on the page.
The request limits
Restricted mode also caps how much one request may ask for. The constants in core_rpc_server.cpp:
| Limit | Value | Applies to |
|---|---|---|
RESTRICTED_BLOCK_HEADER_RANGE | 1,000 | get_block_headers_range: end minus start |
RESTRICTED_TRANSACTIONS_COUNT | 100 | get_transactions: hashes per call |
RESTRICTED_BLOCK_COUNT | 1,000 | blocks requested by height or hash |
RESTRICTED_SPENT_KEY_IMAGES_COUNT | 5,000 | is_key_image_spent |
MAX_RESTRICTED_FAKE_OUTS_COUNT | 40 | random decoy outputs |
MAX_RESTRICTED_GLOBAL_FAKE_OUTS_COUNT | 5,000 | outputs by global index |
These numbers matter if you build tools. Our explorer, for example, reads at most 1,000 block headers per request for that reason. The block-level charts on /charts are built from many such small reads collected over time.
What a restricted node still filters
"Restricted" is not only a list of refused calls. Some allowed calls return less:
get_transaction_pool_hashesandget_transaction_pool_statscount only transactions the node may share, so a transaction still in the Dandelion++ stem phase is not exposed. Our article on Monero Dandelion++ explains the stem phase.get_txpool_backlogzeroestime_in_poolfor every entry.get_public_nodesreturns only public-zone peers since 0.18.5.3, not Tor or I2P addresses.- Deep block submissions are rejected on restricted RPC since 0.18.5.3.
What wallets need, and why restricted RPC is enough
A wallet uses a node for four jobs: download blocks to scan for outputs, fetch decoys for ring signatures, estimate the fee, and broadcast a signed transaction. All four are allowed on a restricted port. That is why the Monero GUI's simple mode, Feather and every mobile wallet work happily against public nodes.
What a wallet cannot do against a restricted node:
- Commands marked as needing a trusted daemon, for example rescanning spent outputs with
rescan_spentin the CLI. The wallet refuses them unless you start it with--trusted-daemon, which you should only do for your own node. - Mining through the node with
start_mining.
A remote node, restricted or not, never sees your private keys. It does see your IP address and the transactions you send through it, and a dishonest one can misreport the fee or delay your transaction. If that matters to you, run your own node; see how to run a Monero node.
Restricted RPC for monero-wallet-rpc
monero-wallet-rpc has its own --restricted-rpc option, which "restricts to view-only commands": balance, transfers and addresses, but no sending and no key export. Since 0.18.5.0, sensitive methods are also restricted in that mode. It is useful when a website only needs to watch for incoming payments. Our monero-wallet-rpc guide covers it.
Testing a restricted node yourself
From any machine with curl:
curl -s http://NODE:18089/get_info
curl -s http://NODE:18089/get_transaction_pool_stats -d '{}'
curl -s http://NODE:18089/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_fee_estimate"}'
All three should answer. These should not:
curl -s http://NODE:18089/get_peer_list
curl -s http://NODE:18089/get_transaction_pool
If the second pair answers with data, the port you are testing is not restricted, and you should fix that before telling anyone else to use it.
Should you run a public restricted node?
It helps the network: every light wallet needs a node, and more independent public nodes mean less reliance on a few big ones. The costs are bandwidth and disk, and a public RPC port attracts automated traffic. Sensible defaults help: 3 connections per public IP and 100 in total, a pruned database, and TLS with --rpc-ssl if your users connect over the internet. Some operators also add --enable-dns-blocklist; see our article on Monero DNS checkpoints and block lists.
A public node configuration, line by line
A minimal bitmonero.conf for a public node that keeps the full API private:
rpc-bind-ip=127.0.0.1
rpc-bind-port=18081
rpc-restricted-bind-ip=0.0.0.0
rpc-restricted-bind-port=18089
confirm-external-bind=1
public-node=1
prune-blockchain=1
rpc-ssl=autodetect
enable-dns-blocklist=1
- The first two lines keep the administrative API on the machine itself. You can still run
./monerod statusand every other console command locally. - The restricted pair opens the safe API to the world.
confirm-external-bind=1is the deliberate "yes, I meant a non-local address". public-node=1advertises the node in peer exchanges, so wallets that discover nodes automatically, includingmonerod's own--bootstrap-daemon-address auto, can find it.prune-blockchain=1keeps the database at roughly a third of the full size; a pruned node serves wallets perfectly well.rpc-ssl=autodetectis the default and lets clients use TLS when they ask for it.
Remember the firewall: only 18080 and 18089 need to be reachable. If 18081 answers from outside, something is wrong.
How tools adapt to restricted RPC
Anything that reads a public node, from a block explorer to a payment checker, is designed around these rules:
- Ranges in steps. Header reads are split into chunks of at most 1,000 blocks, and transaction lookups into batches of at most 100 hashes.
- Totals instead of lists. Where a list is refused, the totals are usually still there:
get_transaction_pool_statsinstead ofget_transaction_pool,get_infofor the pool count. - No supply sums. Without
get_coinbase_tx_sum, a tool either computes emission from the published formula or keeps its own running total from blocks it has read. Ours does neither on the network page, on purpose. - Measured, then stored. Daily figures such as transactions per day are collected over time and kept, rather than recomputed from the chain on every page view. That is how /charts works.
If you need something a restricted node will not give you, the answer is not a cleverer query but your own node, where the full API is available on localhost.
Restricted RPC and the trusted-daemon flag
Wallets distinguish a trusted daemon (your own) from an untrusted one. The CLI wallet decides automatically for a local node and treats remote ones as untrusted unless you pass --trusted-daemon. Against an untrusted node it refuses a few commands with "this command requires a trusted daemon. Enable with --trusted-daemon" and warns that spent status may be incorrect. That flag is about honesty, not about restricted mode: a restricted node can be perfectly honest, and an unrestricted one can lie. Never mark someone else's node as trusted.
Our recommendation
For node operators and developers following Monero releases, these Telegram channels are worth following:
- cryptoresearch@cryptoresearchOPEN@cryptoresearch: research and explainers
- Crypto_Crime_News@Crypto_Crime_NewsOPEN@Crypto_Crime_News: exploits, fake-node and phishing warnings
FAQ
What is restricted RPC in Monero?
A mode of the node's API that allows only view commands and hides privacy-sensitive data. It is what public remote nodes run.
Why does get_transaction_pool return nothing on a public node?
Monero 0.18.5.3 disabled get_transaction_pool in restricted mode. Use get_transaction_pool_hashes, get_transaction_pool_stats or get_txpool_backlog instead, or query your own unrestricted node.
Can I send a transaction through a restricted node?
Yes. Broadcasting a signed transaction with send_raw_transaction is allowed. Only relay_tx, which re-relays a transaction already in the pool, is refused.
What port does restricted RPC use?
None by default. You choose it with --rpc-restricted-bind-port; 18089 is the common convention.
Can a restricted node see my balance?
No. The node never receives your keys. It sees your IP address and the transactions you broadcast through it.
How many block headers can I request from a restricted node?
Up to 1,000 per call: the end height minus the start height may not exceed RESTRICTED_BLOCK_HEADER_RANGE.
