Share your feedback on Twitter and claim 1M Free GetBlock Requests

banner image

Last updated on January 1, 1970

1 min read

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

/v1/estimate_gas_price

info-circle-fill

Returns the median of the last 100,000 transactions. Transactions with more 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