Closed Asadu43 closed 1 year ago
How to get estimate gas fees for transaction
i think it's should according the chain's offical document.
i have already done with web3dart package in which a method
var p = await web3client.estimateGas( to: EthereumAddress.fromHex(contractAddress), sender: EthereumAddress.fromHex(_session!.accounts[0]), data: data, );
Something like that: What is your suggested way?
How to get estimate gas fees for transaction