⚡ Access Enhanced: 200 RPS Now Available for Customers of Shared Nodes with Access Tokens

eth

Ethereum

ETH

POST

GET

chevron-right

Last updated on January 1, 1970

1 min read

Method ibft_proposeValidatorVote Ethereum (ETH)
connect with WS protocol

ibft_proposeValidatorVote

info-circle-fill

Method not allowed

info-circle-fill

Propose to add or remove a validator with the specified address.

Parameters

data - None

Account address

boolean - None

true to propose adding validator or false to propose removing validator.

Request

wscat -c wss://eth.getblock.io/YOUR-API-KEY/mainnet/ 
# wait for connection and send the request body 
{"jsonrpc": "2.0",
"method": "ibft_proposeValidatorVote",
"params": [null, null],
"id": "getblock.io"}

Response

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