Parameters
- tx_prioritystringREQUIRED
The priority level for the gas price estimation
- TX_PRIORITY_UNSPECIFIEDinteger
Default priority, equivalent to MEDIUM priority (value: 0)
- TX_PRIORITY_LOWinteger
Low priority - gas price at the end of the lowest 10% of gas prices from last 5 blocks (value: 1)
- TX_PRIORITY_MEDIUMinteger
Medium priority - mean of all gas prices from last 5 blocks (value: 2)
- TX_PRIORITY_HIGHinteger
High priority - gas price at the start of the top 10% of gas prices from last 5 blocks (value: 3)
Returns
- estimated_gas_priceinteger
The estimated gas price in utia (micro TIA) based on the requested priority level
Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free