# Snake Finance | Token Price Feed

**URL:** <https://forum.diadata.org/t/snake-finance-token-price-feed/1199>\
**Category:** CDRs - Custom Delivery Requests\
**Tags:** fantom, lending, defi, token-price-feed, data-source\
**Created:** [June 30, 2025, 10:12pm UTC](https://forum.diadata.org/t/snake-finance-token-price-feed/1199 "2025-06-30T22:12:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gum13](https://avatars.discourse-cdn.com/v4/letter/g/67e7ee/32.png) [@Gum13](https://forum.diadata.org/u/Gum13)\
**Post date:** [June 30, 2025, 10:12pm UTC](https://forum.diadata.org/t/snake-finance-token-price-feed/1199/1 "2025-06-30T22:12:29Z")

</div>

# INTRODUCTION

**Protocol** : Snake Finance

**Website** : [https://snake.finance/](https://snake.finance/)

**Integration** : Oracles for price feeds for $SNAKE & $gSNAKE

**Use case** : Lending & Borrowing, Silo Vaults

**Blockchain:** Sonic

# REQUEST INFORMATION

## Assets

Following assets will be included in the Oracle:

| Asset Ticker | Asset Blockchain | Asset Address |
| --- | --- | --- |
| SNAKE | SONIC | 0x3a516e01f82c1e18916ed69a81dd498ef64bb157 |

## Methodology

Select the methodologies that will define the feeds:

- Volume Weighted Average Price with Interquartile Range (VWAPIR) will be used to calculate the price for the assets. Learn more about it [here](https://nexus.diadata.org/reference/pricing-methodologies/vwapir-volume-weighted-average-price-with-interquartile-range-filter)
- 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

_See all methodologies for: [Cryptocurrencies](https://docs.diadata.org/documentation/methodology/exchangeprices#filters), [NFT collections](https://docs.diadata.org/documentation/methodology/data-sources-and-data-collection-methodology/nft-data-collection#nft-pricing-methodologies), [Liquid Staked Derivatives](https://docs.diadata.org/documentation/methodology/liquid-staked-derivatives-lsds-fair-pricing)_

# DELIVERY INFORMATION

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

- **Delivery method** : Oracle on Sonic
- **Testnet required** : No

# NOTES

Additional relevant information: Price Feeds required for Silo Vaults, lending & borrowing on Sonic dApps

---

<div class="post-metadata">

**Author:** ![Samuel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/samuel/32/119_2.png) [@Samuel](https://forum.diadata.org/u/Samuel)\
**Post date:** [July 16, 2025, 1:37pm UTC](https://forum.diadata.org/t/snake-finance-token-price-feed/1199/2 "2025-07-16T13:37:42Z")

</div>

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** |
| --- | --- |
| Sonic Mainnet | [0x73c4845b066cbba193fd5130554918ce67091a0e](https://sonicscan.org/address/0x73c4845b066cbba193fd5130554918ce67091a0e) |

* * *

## 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** |
| --- | --- |
| Sonic Mainnet | [0x3D5c8c465BD4A1B0749fcFc4DA5De3AEA0858098](https://sonicscan.org/address/0x3d5c8c465bd4a1b0749fcfc4da5de3aea0858098) |

* * *

## Oracle Configuration

Settings that dictate how the oracle computes and updates data

| **Pricing Methodology** | [VWAPIR](https://www.diadata.org/docs/nexus/reference/pricing-methodologies/vwapir-volume-weighted-average-price-with-interquartile-range-filter) |
| --- | --- |
| **Deviation (%) & Refresh Frequency** | 0.5% and 120 seconds |
| **Heartbeat** | 24h |

* * *

## Asset Feeds

| **Asset Ticker** | **getValue(key)** | **Asset Markets Overview** |
| --- | --- | --- |
| SNAKE | SNAKE/USD | [SNAKE Markets](https://www.diadata.org/app/price/asset/Sonic/0x3a516e01f82c1e18916ED69a81Dd498eF64bB157/) |

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](https://www.diadata.org/docs/how-to-guides/fetch-price-data/solidity#using-solidity-library) or the [interface](https://www.diadata.org/docs/how-to-guides/fetch-price-data/solidity#using-diaoraclev2-interface).

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

See the full example [here](https://www.diadata.org/docs/how-to-guides/fetch-price-data/solidity).
