bor_getCurrentValidators

Returns the current list of validators.

Parameters

None

Returns

  1. DATA, 20 Bytes - Signer. The address of the validator

  2. QUANTITY, Integer - ID. The id of the validator

  3. QUANTITY, Integer - accum. The proposer priority for the validator

  4. QUANTITY, Integer - power. The voting power of the validator

Example

Request

curl --request POST \
     --url https://endpoints.omniatech.io/v1/RPC_ENDPOINT \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{"jsonrpc":"2.0","method":"bor_getCurrentValidators","params":[], "id":1}
'

Response

Last updated