⚡ Dedicated Nodes for ETH, BSC, MATIC & other Blockchains at a Reduced Price!

avax

Avalanche (AVAX)

Method: POST rollup_getInfo

dropdown
POST

rollup_getInfo

Method not allowed

Returns useful L2-specific information about the current node.

Parameters

-

Request

curl --location --request POST 'https://avax.getblock.io/mainnet/ext/bc/C/rpc' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "rollup_getInfo",
"params": [],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}