GET
/
estimate_gas_price
Estimate gas price
curl --request GET \
  --url https://api.us1.shinami.com/aptos/node/v1/estimate_gas_price \
  --header 'Authorization: Bearer <token>'
{
  "deprioritized_gas_estimate": 123,
  "gas_estimate": 123,
  "prioritized_gas_estimate": 123
}

Authorizations

Authorization
string
header
required

Authorization: Bearer SHINAMI_ACCESS_KEY.

Response

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