/v1/estimate_gas_price - Aptos

Example code for the /v1/estimate_gas_price json-rpc method. Сomplete guide on how to use /v1/estimate_gas_price json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/v1/estimate_gas_price' \
--header 'Content-Type: application/json'

Response

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

Last updated