with web3
There is no straightforward way. You have to create a function which does that.
Make function? How return gas?
An oracle maybe. There is no way (I know of) to estimate gas of a transaction
Thank you
What?
https://github.com/ethers-io/ethers.js/
he asked in sol not js
tx.gasprice
I use this, but it's not true
Обсуждают сегодня