Skip to main content

EstimateGasPriceAndUsage gRPC Method

Estimates both the gas price based on transaction priority and the gas usage for a specific transaction on the Celestia blockchain. This method simulates the transaction to determine the exact gas consumption.

Updated on
Jul 04, 2025

EstimateGasPriceAndUsage gRPC Method

Parameters

tx_priority
string
REQUIRED
The priority level for the gas price estimation
tx_bytes
string
REQUIRED
The encoded transaction bytes to estimate gas usage for

Returns

estimated_gas_price
integer
The estimated gas price in utia (micro TIA) based on the requested priority level
estimated_gas_used
integer
The estimated amount of gas that will be consumed by the transaction
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free