bor_getAuthor

Returns the author address.

Parameters

blockNumber - The latest tag or block number encoded in hexadecimal format. REQUIRED

Returns

DATA, 20 Bytes - The address of the author

Example

Request

curl --request POST \
     --url https://endpoints.omniatech.io/v1/RPC_ENDPOINT \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{"jsonrpc":"2.0","method":"bor_getAuthor","params":["0x1000"], "id":1}
'

Response

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

Last updated