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": "eth_baseFee",
"params": [
null
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x2e90edd000"
}
Returns the base fee for the next block, in hexadecimal format representing wei.
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": "eth_baseFee",
"params": [
null
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x2e90edd000"
}
“0x2e90edd000”.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": "eth_baseFee",
"params": [
null
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x2e90edd000"
}
Was this page helpful?