Data Adapters
Data Adapters are the bridge between the external world (CEXs, DEXs, APIs) and the Substrate Oracle Network. They are responsible for fetching accurate, timely data and feeding it into the oracle nodes.
Available Adapters
We currently provide specialized adapters for the Charli3 Partner Chain, covering both Cardano and major EVM networks:
Cardano Adapter
A Python-based solution powered by the Charli3 Dendrite SDK. Optimized for fetching data from Cardano DEXs (Minswap, Spectrum, etc.) with powerful aggregation features.
Ethereum Adapter
Fetches token price data from Uniswap V3 on Ethereum Mainnet.
BSC Adapter
Fetches token price data from PancakeSwap V3 on BNB Smart Chain.
Arbitrum Adapter
Fetches token price data from Uniswap V3 on Arbitrum One.
Polygon Adapter
Fetches token price data from Uniswap V3 on Polygon PoS.
Base Adapter
Fetches token price data from Uniswap V3 on Base Mainnet.
Optimism Adapter
Fetches token price data from Uniswap V3 on Optimism Mainnet.
How It Works
Nodes do not query arbitrary URLs directly in the runtime (to ensure determinism). Instead, Off-chain Workers or external Sidecars (like these adapters) fetch the data and submit it via signed extrinsics.
- Fetch: The adapter queries the external source (e.g., Minswap API or Uniswap Contract).
- Process: Data is normalized to the format required by the oracle node.
- Submit: The adapter pushes the data to the node’s local storage or RPC endpoint.