Last updated on January 1, 1970

1 min read

Method /v1/estimate_gas_price undefined ()
connect with JSON-RPC protocol

/v1/estimate_gas_price

info-circle-fill

Returns the median of the last 100,000 transactions. Transactions withmore gas are prioritized.

Parameters

-

Request

curl --location --request GET 'https://apt.getblock.io/v1/estimate_gas_price?' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 

Response

{
    "deprioritized_gas_estimate": 100,
    "gas_estimate": 100,
    "prioritized_gas_estimate": 150
}
banner icon

Start Building with GetBlock RPCs for Free