/

Ethereum Classic (ETC)

etc

Ethereum Classic (ETC)

Method: POST miner_changeTargetGasLimit

dropdown
POST

miner_changeTargetGasLimit

Method not allowed

Updates the target gas limit set using the --target-gas-limit command line option.

Parameters

quantity - integer

The target gas price in Wei.

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": "miner_changeTargetGasLimit",
"params": [null],
"id": "getblock.io"}'


Response

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