CDR | GasX | Price Feeds

INTRODUCTION

Protocol: GasX Developer Tools

Website: GitHub - edsphinx/builder-hub: Modular Web3 toolkit – ERC-4337 Paymaster, Allo QF strategy, Circle CCTP widget, Gas-tracker & demo app on Scaffold-ETH 2.

Integration: Price Feeds for Yield-Bearing Tokens & Major Crypto Assets

Use case: Gas Sponsorship (Paymaster) with Capital Efficiency and Programmatic Rules

Blockchain: Arbitrum (with plans for expansion to Optimism, Scroll, Linea, Base, and Polygon)

REQUEST INFORMATION

Assets

  1. The following price feeds are crucial for enabling the advanced functionalities of our Paymaster. We are requesting oracles for:
    • USDC

    • WETH

Methodology

The selected methodologies that will define the feeds are:

  • Pricing methodology: Volume Weighted Average Price with Interquartile Range (VWAPIR) will be used to calculate the price for the assets. Learn more about it here

  • .5% deviation threshold for updates trigger will be applied for each asset

  • 120 secs update frequency check will be applied

  • 24-hour time-based update frequency will be applied for all assets

DELIVERY INFORMATION

Select if the feed should be delivered on-chain via oracle and if so, which network:

  • Delivery method: Arbitrum
  • Testnet required: Yes

NOTES

Additional relevant information:

  • Additional relevant information:

    GasX is building a next-generation Paymaster under the ERC-4337 standard, designed to solve two key problems for dApps: the high cost of gas sponsorship and the lack of flexibility in sponsorship policies.

    The integration with DIA’s oracles is fundamental to our two core features:

    1. Capital-Efficient Paymaster: Funds deposited by dApps for sponsorship will be placed into low-risk protocols like Aave to generate yield. This yield will then subsidize a portion of the gas costs, making our service structurally cheaper. To safely manage this treasury, we require reliable, real-time price feeds for aTokens (e.g., aUSDC/USDC).

    2. Programmatic Paymaster (Growth Engine): Our rules engine will allow dApps to create dynamic sponsorship policies to incentivize specific user behaviors (e.g., “sponsor the first transaction for a new user” or “sponsor swaps over $100”). To enable these value-based rules, we need accurate price oracles for major assets like WETH and USDC.

    This integration with DIA is not just an enhancement but a critical requirement for launching a product that offers real, differentiated value in the Account Abstraction ecosystem.


Thank you for requesting a data feed via DIA CDR. Please find the oracle information below:

Contracts

The contracts to fetch data from.

Network Contract Address
Arbitrum Mainnet 0xf413D43636CbE609cD286BAF341eA1058921eA43
Arbitrum Sepolia 0x05eD1f0c33E2a2D257007C0184dC00020C0cbE68

Gas Wallets

The gas wallet is used for pushing data to your contracts. To ensure uninterrupted oracle operation, please maintain sufficient funds in the gas wallet. You can monitor the wallets below to ensure they remain adequately funded at all times.

Network Gas Wallet Address
Arbitrum Mainnet 0x0dfA1D8a439637c07327Cd280d1D01c61dDBFbbc
Arbitrum Sepolia 0xeFfFD5F03f027F411FA92A0E942e04741d50b3e4

Oracle Configuration

Settings that dictate how the oracle computes and updates data.

Pricing Methodology VWAPIR
Deviation (%) & Refresh Frequency 0.5% and 120 seconds
Heartbeat 24h

Asset Feeds

The available assets on the oracles.

Asset Ticker getValue(key) Asset Markets Overview
WETH WETH/USD WETH Markets
USDC USDC/USD USDC Markets

To consume price data, you’ll need to invoke the getValue method on the oracle contract which you can access through the DIA Oracle library or the interface.

If you pass WETH/USD as the key, it will return the most recent price of WETH in USD with 8 decimal places (e.g. 431958146231 is $4,319.58146231) along with the Unix timestamp of the last price update.

See the full example here.