Labels: high-difficulty, infrastructure, oracle
Difficulty: High
Module: apps/api/src/gas-oracle/
🧠 Concept
Construct an automated background service in the Nest.js backend that indexes real-time gas prices and native token rates ($ETH, XLM, OP, ARB$) across 10+ supported networks.
⚠️ Problem
Static gas estimates become outdated as token prices and network base fees fluctuate daily. Live price indexing ensures monetary savings calculations remain accurate.
📁 Implementation Scope
apps/api/src/gas-oracle/fee-indexer.service.ts
apps/api/src/gas-oracle/price-feed.service.ts
🛠️ Requirements
- Query real-time RPC gas fees (EIP-1559 base/priority fees, Soroban resource fees) every 30 seconds.
- Fetch native token prices via cached market feeds.
- Expose dynamic conversion APIs used by the diagnostic engine to compute accurate USD values.
🎯 Acceptance Criteria
Labels:
high-difficulty,infrastructure,oracleDifficulty: High
Module:
apps/api/src/gas-oracle/🧠 Concept
Construct an automated background service in the Nest.js backend that indexes real-time gas prices and native token rates ($ETH, XLM, OP, ARB$ ) across 10+ supported networks.
Static gas estimates become outdated as token prices and network base fees fluctuate daily. Live price indexing ensures monetary savings calculations remain accurate.
📁 Implementation Scope
apps/api/src/gas-oracle/fee-indexer.service.tsapps/api/src/gas-oracle/price-feed.service.ts🛠️ Requirements
🎯 Acceptance Criteria