GET
/
estimate_gas_price
curl --request GET \
  --url https://aptos-mainnet.s.chainbase.online/{api-key}/v1/estimate_gas_price
{
  "deprioritized_gas_estimate": 123,
  "gas_estimate": 123,
  "prioritized_gas_estimate": 123
}

Response

200
application/json

Struct holding the outputs of the estimate gas API

gas_estimate
integer
required

The current estimate for the gas unit price

deprioritized_gas_estimate
integer

The deprioritized estimate for the gas unit price

prioritized_gas_estimate
integer

The prioritized estimate for the gas unit price