⚡ We welcome businesses to test our enterprise-grade service

/

Ethereum Classic (ETC)

etc
Ethereum Classic (ETC)

Method: POST rpc_modules

dropdown

方法 RPC rpc_modules 例如 Ethereum Classic (ETC)

POST rpc_modules

列表启用了API和每个版本。

Parameters

-

Request

curl --location --request POST 'https://etc.getblock.io/mainnet/' \
--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

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