hmy_getBlockSigners

Description

hmy_getBlocksSigners returns list of block signers

API v1

Parameters

  1. String - block number in string 0x format

Returns

  • Array of String: one addresses list of validators who signed this block

Sample Curl Request

curl -d '{
    "jsonrpc": "2.0",
    "method": "hmy_getBlockSigners",
    "params": ["0x1"],
    "id": 1
}' -H "Content-Type: application/json" -X POST "http://localhost:9500"

Sample Curl Response

API v2

Parameters

  1. Number - block number

Returns

  • Array of String: one addresses list of validators who signed this block

Sample Curl Request

Sample Curl Response

Last updated

Was this helpful?