Description
Hardcoded transaction fees will lead to dropped or stuck transactions on the public Testnet if the network experiences a sudden surge in volume.
Technical Requirements
-
Utilize the Soroban RPC getLatestLedger and fee estimation endpoints to fetch current inclusion fees before building payloads.
-
Implement a fee cap (MAX_FEE_SUGGESTION) to protect the relayer wallet from burning excessive test XLM during anomalies.
Description
Hardcoded transaction fees will lead to dropped or stuck transactions on the public Testnet if the network experiences a sudden surge in volume.
Technical Requirements
Utilize the Soroban RPC
getLatestLedgerand fee estimation endpoints to fetch current inclusion fees before building payloads.Implement a fee cap (
MAX_FEE_SUGGESTION) to protect the relayer wallet from burning excessive test XLM during anomalies.