curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=137 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "bor_getAuthor",
"params": [
"0x1000"
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x42eefcda06ead475cde3731b8eb138e88cd0bac3"
}
Returns the author (validator address) of the specified block on the Polygon Bor chain.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=137 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "bor_getAuthor",
"params": [
"0x1000"
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x42eefcda06ead475cde3731b8eb138e88cd0bac3"
}
bor_getAuthor:params[]: Block number in hexadecimal format (e.g., “0x1000”) or the string tag “latest”.“0x42eefcda06ead475cde3731b8eb138e88cd0bac3”.curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=137 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "bor_getAuthor",
"params": [
"0x1000"
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x42eefcda06ead475cde3731b8eb138e88cd0bac3"
}
Was this page helpful?