CDR #043: Relative Finance | NFTs Price Feed

INTRODUCTION

Protocol: Relative Finance

Website: relative.fi

Integration: NFT Floor Price oracles on Polygon network

Use case: derivatives trading

Blockchain: Polygon

REQUEST INFORMATION

Assets

The following assets will be included in the Oracle:

Methodology

  • 3 days (lookbackSeconds) Moving Average with 30 minute window (floorWindow) interval will be calculated for each collection
  • 120sec oracle update frequency

DELIVERY INFORMATION

  • Delivery method: Oracle on Polygon mainnet
  • Testnet required: No

NOTES

Additional relevant information: N/A


Thank you for requesting a DIA CDR. We confirm the CDR specifications were requested correctly. Find the oracle / API endpoint below:

Markets

By querying for blockchain and asset, the API provides the markets used for calculating this feed.

API endpoint

By querying for blockchain and asset, the API provides the asset quotation for each asset in the feed.

Oracle

The oracle is deployed and can be accessed here.

You can query for assets by calling the read function getValue() with parameters such as “Ethereum-0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D-Floor". It will return two values:

  1. The price of the asset queried with 8 decimals
  2. The timestamp of the last update

Please make sure to top up the gas wallets very soon, as we only put in some gas to deploy and start the oracle.
Gas wallet: 0xfdf0499fC1b0080472540cACF3FeF5ebf8a09e44

Also make sure they always have sufficient funding.