Links

bor_getAuthor

Returns the author of the specified block.

Parameters

string: Block number in hexidecimal, or the taglatest to get the latest block.

Returns

string: Address of the author

Example

Request

## JSON-RPC over HTTPS POST
## Replace YOUR-API-KEY with an API key from your Infura dashboard
## You can also replace mainnet with a different supported network
curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"bor_getAuthor","params":["0x1000"], "id":1}'

Result

{"jsonrpc":"2.0","id":1,"result":"0x42eefcda06ead475cde3731b8eb138e88cd0bac3"}