Content
@
0 reply
0 recast
2 reactions
Abhishek Yadav
@abhixh
How do you calculate maxFeePerGas on Scroll and Mantle because they do not return maxFeePerGas and maxPriorityFeePerGas when fetching fee data?
1 reply
0 recast
0 reaction
Steve
@stevedylandev.eth
Following this one; I haven’t been able to use scroll reliably on testnet so far :(
1 reply
0 recast
1 reaction
Abhishek Yadav
@abhixh
Figured how to make it work on Scroll, Mantle not yet.
1 reply
0 recast
0 reaction
Steve
@stevedylandev.eth
What’s the key?? 👀👀
1 reply
0 recast
1 reaction
Abhishek Yadav
@abhixh
Started with the bare basics: maxFeePerGas = baseFeePerGas + maxPriorityFeePerGas if we know the two right hand side variables then we can calculate maxFeePerGas.
1 reply
0 recast
0 reaction
Abhishek Yadav
@abhixh
The problem was since the RPC doesn’t return any value it’s difficult to even estimate baseFeePerGas which should be of the preceding block.
1 reply
0 recast
0 reaction