rpc_modules - Ethereum
The rpc_modules method is part of the Ethereum JSON-RPC Core API and lists all enabled APIs and their versions on the Ethereum node. It helps developers verify module availability .
Supported Networks
Parameters
Request Example
https://go.getblock.io/<ACCESS-TOKEN>/curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"method": "rpc_modules",
"params": [],
"id": "getblock.io"
}'wscat -c wss://go.getblock.io/<ACCESS-TOKEN>/
# wait for connection and send the request body
{"jsonrpc": "2.0",
"method": "rpc_modules",
"params": [],
"id": "getblock.io"}Response Example
Response Description
Use Case
Example Code
Last updated
Was this helpful?