📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

matic
Polygon (MATIC)

Method: POST rpc_modules

dropdown

方法 RPC rpc_modules 例如 Polygon (MATIC)

POST rpc_modules

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

Parameters

-

Request

curl --location --request POST 'https://matic.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": {
        "bor": "1.0",
        "debug": "1.0",
        "eth": "1.0",
        "net": "1.0",
        "rpc": "1.0",
        "web3": "1.0"
    }
}