curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_getRawHeader",
"params": [
"0x1"
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": ""
}
Returns an RLP-encoded header.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_getRawHeader",
"params": [
"0x1"
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": ""
}
debug_getRawHeader:params[]: The block number or hash.curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_getRawHeader",
"params": [
"0x1"
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": ""
}
Was this page helpful?