RPC API Reference
Visit the API Reference page for a list of all CometBFT RPC methods
- URI over HTTP - REST-like interface for simple queries
- JSONRPC over HTTP - Standard JSON-RPC 2.0 protocol
- JSONRPC over WebSockets - Persistent connection with subscription support
Quick Start
By default, the RPC server listens ontcp://127.0.0.1:26657. You can query it using curl:
Configuration
The RPC server can be configured in yourconfig.toml file under the [rpc] section: