bor_getSignersAtHash - Polygon
bor_getSignersAtHash. Retrieve the list of signers for a block
bor_getSignersAtHash - polygon [Value: 10CU]
Retrieve the list of signers for a block
Use cases
- Get signers of a block by hash
- Verify validators for a specific block
- Analyze validator participation at a block
Constraints
- Requires valid block hash and synced node
- Only shows signers for the given block
- Works in Polygon PoS consensus only
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl https://polygon.drpc.org \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"method": "bor_getSignersAtHash",
"params": ["0x29fa73e3da83ddac98f527254fe37002e052725a88904bac14f03e919e1e2876"],
"id": 1
}'
Response
200
{
"jsonrpc": "2.0",
"id": 1,
"result": [
"0xbadeb474d3bef72e9058ea6aed0806004f548318",
"0x75dddfb045c0f0ef72d940fe935bf36e773eb05b",
"0x2e27a9669487d40299e526f86cb1ce8954b84b12",
"0xda73a58f632ab9a3f095a304275ad10093c1ce88",
"0x777ad55efc465052d6a4ab7bc75b6a15175bb399",
"0x550365027554bd20d750f9361e460c7428ffbd75",
"0x7bf377f69da0e46da1502d5f2bcf9fb00c3b610b"
]
}
Request params
idinteger
jsonrpcstring
methodstring
string
hashstring
REQUIRED. The hash of the block.
Response
200
An array of all the signers of the block which match the specified block hashResponse params
object
idinteger
jsonrpcstring
resultstring
An array of all the signers of the block that match the specified block hash.