bor_getSignersAtHash

bor_getSignersAtHash RPC Method

Parameters:

hash - string - The hash of the block

Returns:

result - An array of all the signers of the block which match the specified block hash

Code Examples:

var myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");

var raw = JSON.stringify({
  "jsonrpc": "2.0",
  "method": "bor_getSignersAtHash",
  "params": [
    "0x29fa73e3da83ddac98f527254fe37002e052725a88904bac14f03e919e1e2876"
  ],
  "id": 1
});

var requestOptions = {
  method: 'POST',
  headers: myHeaders,
  body: raw,
  redirect: 'follow'
};

fetch("https://api.ebs.ezat.io/core/api/v1.0/rpc/polygon/mainnet?x-api-key-id=API-KEY-ID&x-api-key=API-KEY", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));

Last updated