bor_getAuthor
Returns the author of the specified block.
string
: Block number in hexidecimal, or the taglatest
to get the latest block.string
: Address of the author## 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}'
{"jsonrpc":"2.0","id":1,"result":"0x42eefcda06ead475cde3731b8eb138e88cd0bac3"}
Last modified 9mo ago