You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In times of mempool congestion, txs can get on-chain with a significant delay.
Implementation details
Use transactions/getFee node's endpoint to calculate the fee for a tx passing tx's size and time (1 minute) to get on-chain as parameters.
Add max_tx_fee to the oracle config and use it as an upper limit for the suggested tx fee from the node. Set it to double the oracle config's base_fee initially.
I suppose that 'base_fee' can be dropped and tx fee from node used everywhere.
The text was updated successfully, but these errors were encountered:
Motivation
In times of mempool congestion, txs can get on-chain with a significant delay.
Implementation details
Use
transactions/getFee
node's endpoint to calculate the fee for a tx passing tx's size and time (1 minute) to get on-chain as parameters.Add
max_tx_fee
to the oracle config and use it as an upper limit for the suggested tx fee from the node. Set it to double the oracle config'sbase_fee
initially.I suppose that 'base_fee' can be dropped and tx fee from node used everywhere.
The text was updated successfully, but these errors were encountered: