For AI agents: a documentation index is available at /llms.txt. Markdown versions of pages are available by appending .md to any documentation URL.
Skip to main content

Besu JSON-RPC API reference

The Besu JSON-RPC API methods are grouped by namespace:

NamespaceDescription
ADMINAdministrative functionality to manage your node.
DEBUGInspect and debug the network.
ETHInteract with the blockchain, including querying blocks, transactions, logs, and account state.
MINERControl the node's block creation settings.
NETNetwork-related information.
PLUGINSPlugin-related functionality.
TRACEConcise alternative to the DEBUG API for tracing transactions.
TXPOOLInspect the contents of the transaction pool.
WEB3Functionality for the Ethereum ecosystem.
Important
  • This reference contains API methods that apply to both public and private networks. For private-network-specific API methods, see the private network API reference.
  • All JSON-RPC HTTP examples use the default host and port endpoint http://127.0.0.1:8545. If using the --rpc-http-host or --rpc-http-port options, update the endpoint.
  • Most example requests are made against private networks. Depending on network configuration and activity, your example results might be different.

Miscellaneous methods

rpc_modules

Lists enabled APIs and the version of each.

Parameters

  • None

Returns

  • Enabled APIs and their versions.
curl -X POST http://127.0.0.1:8545/ \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"method": "rpc_modules",
"params": [],
"id": 1
}'