Command-line options: Orbit nodes
The following command-line options can be used when running your Orbit node:
Flag | Description |
---|---|
--execution.rpc.classic-redirect=<RPC> | Redirects archive requests for pre-nitro blocks to this RPC of an Arbitrum Classic node with archive database. Only for Arbitrum One. |
--http.api | Offered APIs over the HTTP-RPC interface. Default: net,web3,eth,arb . Add debug for tracing. |
--http.corsdomain | Accepts cross origin requests from these comma-separated domains (browser enforced). |
--http.vhosts | Accepts requests from these comma-separated virtual hostnames (server enforced). Default: localhost . Accepts * . |
--http.addr | Address to bind RPC to. May require 0.0.0.0 for Docker networking. |
--execution.caching.archive | Retains past block state. For archive nodes. |
--node.feed.input.url=<feed address> | Default: wss://<chainName>.arbitrum.io/feed . ⚠️ One feed relay per datacenter is advised. See feed relay guide. |
--execution.forwarding-target=<RPC> | Defaults to the L2 Sequencer RPC based on provided L1 and L2 chain IDs. |
--execution.rpc.evm-timeout | Default: 5s . Timeout for eth_call . (0 == no timeout). |
--execution.rpc.gas-cap | Default: 50000000 . Gas cap for eth_call /estimateGas . (0 = no cap). |
--execution.rpc.tx-fee-cap | Default: 1 . Transaction fee cap (in ether) for RPC APIs. (0 = no cap). |
--ipc.path | Filename for IPC socket/pipe within datadir. 🔉 Not supported on macOS. Note the path is within the Docker container. |
--init.prune | Prunes database before starting the node. Can be "full" or "validator". |
--init.url="<snapshot file>" | (Non-Orbit Nitro nodes only) URL to download the genesis database from. Required only for the first startup of an Arbitrum One node. Reference to snapshots and archive node guide. |
--init.download-path="/path/to/dir" | (Non-Orbit Nitro nodes only) Temporarily saves the downloaded database snapshot. Defaults to /tmp/ . Used with --init.url . |