eth

Ethereum (ETH)

Method: POST rpc_modules

dropdown

POST rpc_modules

Lists enabled APIs and the version of each.

Parameters

-

Request

curl --location --request POST 'https://eth.getblock.io' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "rpc_modules",
"params": [],
"id": "getblock.io"}'

Response

{
    "jsonrpc": "2.0",
    "id": "getblock.io",
    "result": {
        "txpool": "1.0",
        "trace": "1.0",
        "eth": "1.0",
        "web3": "1.0",
        "net": "1.0"
    }
}