Node icon indicating copy to clipboard operation
Node copied to clipboard

Improve Blockchain Agent on Gas Price

Open bertllll opened this issue 8 months ago • 0 comments

The BlockchainAgent should now have another piece of logic via a getter method which will allow to give the information on the save gas price for the awaiting payments. This price should be computed simply from the price that has been recommended given the RPC we made when the agent was being put together, but increased by some percentage, probably chosen specifically to every blockchain on which we operate. That means this value may be added to the records that store all information about a certain chain (You can reach them by Chain::XXX.rec()). The computation should probably also work in the number of transaction in the batch as another parameter.

Image

bertllll avatar May 21 '25 10:05 bertllll