Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions docs/running-an-arc-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,9 +448,11 @@ prohibited: `txpool`, `debug`, `trace`, `admin`, `flashbots`, `mev`, `ots`.
--public-api
```

The `--public-api` flag enforces these restrictions at runtime: it hides
pending-transaction RPCs and warns at startup if `--http.api` or `--ws.api`
exposes namespaces outside the safe set.
The `--public-api` flag enforces pending-transaction hiding, but it does not
rewrite or reject `--http.api` / `--ws.api` selections. It warns at startup if
either selection exposes namespaces outside the safe set, and the node continues
to serve those namespaces. Operators must still configure public endpoints with
only the safe namespaces above.

To verify, call `rpc_modules`:

Expand Down