APT
POST
GET
Last updated on January 1, 1970
1 min read
Method /v1/estimate_gas_price undefined ()
connect with JSON-RPC protocol
/v1/estimate_gas_price
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
}
Start Building with GetBlock RPCs for Free
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }