3

My recommendation: Configure gas-price according to user-input, allowing for the current price as default (you'll need to implement function scan): async function getGasPrice(web3) { while (true) { const nodeGasPrice = await web3.eth.getGasPrice(); const userGasPrice = await scan(`Enter gas-price or leave empty to use ${nodeGasPrice}: `); ...


1

transaction fee is constant, and it just changes (decreases) if you are not in hurry and can wait for the network to be a little less crowded (some wallets have this option, not all of them). but if you want to send/receive in the exact time the next block is mined, then you have to pay the constant miner fee, which is different for each crypto. and you have ...


1

It's impossible to say. If you look at the chart at https://etherscan.io/chart/gasprice you can see that basically every day there are transactions mined which have a very low gas price (even much lower that yours). But it's impossible to know whether such transactions have been paid in some other means - for example someone offers some monetary payment to ...


1

Transactions have a gas limit and a gas price field. If your transaction is running out of gas, you need to increase the gas limit field, not the gas price field. The amount of gas consumed by a transaction can vary based on which code executes and how much data is written to or removed from the blockchain. You can find the details in the yellow paper, but ...


Only top voted, non community-wiki answers of a minimum length are eligible