bor_getCurrentValidators
Polygon API - Returns current validators

Parameters

NONE

Returns

AUTHOR - address

Example

​Alchemy Composer​

The Alchemy Composer allows you to make a no-code example request via your browser. Try it out above!

Request

Curl
Postman
1
curl https://polygon-mainnet.g.alchemyapi.io/v2/your-api-key \
2
-X POST \
3
-H "Content-Type: application/json" \
4
-d '{"jsonrpc":"2.0","method":"bor_getCurrentValidators","params":[], "id":1}'
Copied!
1
URL: https://polygon-mainnet.g.alchemyapi.io/v2/your-api-key
2
RequestType: POST
3
Body:
4
{
5
"jsonrpc":"2.0",
6
"method":"bor_getCurrentValidators",
7
"params":[],
8
"id":1
9
}
Copied!

Result

1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"ID": 0,
7
"signer": "0x46a3a41bd932244dd08186e4c19f1a7e48cbcdf4",
8
"power": 1,
9
"accum": -15
10
},
11
{
12
"ID": 0,
13
"signer": "0x6a654ca3bfb5cfb23bf30bafbf96b3b6ec26bb0e",
14
"power": 1,
15
"accum": -21
16
},
17
{
18
"ID": 0,
19
"signer": "0x7c7379531b2aee82e4ca06d4175d13b9cbeafd49",
20
"power": 5,
21
"accum": -8
22
},
23
{
24
"ID": 0,
25
"signer": "0xe77bbfd8ed65720f187efdd109e38d75eaca7385",
26
"power": 2,
27
"accum": 5
28
},
29
{
30
"ID": 0,
31
"signer": "0xf0245f6251bef9447a08766b9da2b07b28ad80b0",
32
"power": 7,
33
"accum": -4
34
}
35
]
36
}
Copied!

​

Last modified 23d ago