bor_getAuthor - Polygon

bor_getAuthor. Retrieve the author of a block

bor_getAuthor - polygon [Value: 10CU]
Retrieve the author of a block
Use cases

Use cases

  • Get the latest block number for syncing
  • Verify blockchain progress up to the current block
  • Check latest block number for monitoring purposes
Constraints

Constraints

  • Node must be synchronized with the network
  • Requires access to a reliable node
  • Network latency may affect response time
Get started
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_getAuthor",
  "params": ["0x1000"],
  "id": 1
}'
Copy
Response
200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x0375b2fc7140977c9c76d45421564e354ed42277"
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
Parametersstring
string
blockNumberstring
The latest tag or block number encoded in hexadecimal format.

Response

200
The address of the block author.

Response params

object
idinteger
jsonrpcstring
resultstring
The address of the block author.