In Ethereum one can get the gas price using web3.eth.gasPrice.
In Tezos, does any RPC provide the gas price, or is there a formula to calculate the gas price?
Tezos Stack Exchange is a question and answer site for users, experts, and developers of the Tezos blockchain project. It only takes a minute to sign up.
Sign up to join this communityIn Tezos, gas does not have a monetary translation. It does not "cost" you anything to execute a contract with 10 gas vs 1M gas. Gas is simply an internal limitation to prevent contracts from running amok.
https://forum.tezosagora.org/t/psa-do-not-quote-gas-cost-in-tez/1618
After asking, there is no equivalent of a gas price in Tezos. You pay a transaction fee, and this fee should include everything. Doing some stats on the fees you may get an upper-bound on the gas price.