curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=8217 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "klay_gasPrice",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x5d21dba00"
}
Klay
klay_gasPrice
Returns the current gas price in peb as seen by this node.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=8217 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "klay_gasPrice",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x5d21dba00"
}
Was this page helpful?