# CDR #021: WanLend | Asset Price

**URL:** <https://forum.diadata.org/t/cdr-021-wanlend-asset-price/444>\
**Category:** CDRs - Custom Delivery Requests\
**Tags:** wanchain, lending, defi, token-price-feed\
**Created:** [September 12, 2022, 4:46pm UTC](https://forum.diadata.org/t/cdr-021-wanlend-asset-price/444 "2022-09-12T16:46:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wanchain](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/wanchain/32/235_2.png) [@Wanchain](https://forum.diadata.org/u/Wanchain)\
**Post date:** [September 12, 2022, 4:46pm UTC](https://forum.diadata.org/t/cdr-021-wanlend-asset-price/444/1 "2022-09-12T16:46:53Z")

</div>

## dApp introduction

WanLend is a decentralized financial management platform, users can deposit cryptos to gain interests, or borrow cryptos and pay interests.

## Feed usage

**Data type** : Price feed  
**Use case** : Lending and borrowing

## Specifications

**Delivery method** : on-chain (Wanchain, mainnet)  
**Update mechanism** : time-based  
**Methodology** : Moving Average  
**Frequency** : 10s  
**Sources (by chain/version)**: All available markets  
**Pairs** : USDT/USD, WAN/USD, DOT/USD, GLMR/USD, BNB/USD, AVAX/USD, MOVR/USD, XRP/USD, LTC/USD, DOGE/USD, WAND/USD, WASP/USD, ZOO/USD, PHX/USD

**Other relevant information** : Wanlend will use DIA for all its supported assets. It addition to the above, Wanlend will use these existing feeds BTC/USD, ETH/USD, USDC/USD, FTM/USD.

---

<div class="post-metadata">

**Author:** ![emre.kara](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@emre.kara](https://forum.diadata.org/u/emre.kara)\
**Post date:** [September 12, 2022, 9:24pm UTC](https://forum.diadata.org/t/cdr-021-wanlend-asset-price/444/2 "2022-09-12T21:24:19Z")

</div>

Thanks for submitting your Custom Delivery Request!

The DIA DAO will review your requirements shortly and if all information is correctly provided, a core developer will proceed and deliver the API endpoint. If the requirements are partially or incorrectly requested, a DAO member will get in touch with you again.

---

<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:** [November 21, 2022, 2:40pm UTC](https://forum.diadata.org/t/cdr-021-wanlend-asset-price/444/3 "2022-11-21T14:40:20Z")

</div>

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](https://docs.diadata.org/documentation/api-1/api-endpoints#asset-markets) provides the markets used for calculating this feed.

**API endpoint**

By querying for blockchain and asset, the [API](https://docs.diadata.org/documentation/api-1/api-endpoints#asset-quotation) provides the asset quotation for each asset in the feed.

**Oracle**

The oracle is deployed and can be accessed here.

> **[Wanchain BlockChain Explorer](https://wanscan.org/address/0x29883aa3b92d8183e340cb1863a30ca3f84a4200)**
>
> The Wanchain BlockChain Explorer

You can query for assets by calling the read function getValue() with parameters such as “ASTR/USD”. It will return two values:

- The price of the asset queried with 8 decimals
- The timestamp of the last update

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

This is the list of assets we deployed (Blockchain-Address)

- Ethereum-0xdAC17F958D2ee523a2206206994597C13D831ec7
- Wanchain-0x0000000000000000000000000000000000000000
- Polkadot-0x0000000000000000000000000000000000000000
- Moonbeam-0x0000000000000000000000000000000000000000
- BinanceSmartChain-0x0000000000000000000000000000000000000000
- Avalanche-0x0000000000000000000000000000000000000000
- Moonriver-0x98878B06940aE243284CA214f92Bb71a2b032B8A,
- Ripple-0x0000000000000000000000000000000000000000
- Litecoin-0x0000000000000000000000000000000000000000
- Dogechain-0x0000000000000000000000000000000000000000
- Wanchain-0x230f0C01b8e2c027459781E6a56dA7e1876EFDbe
- Wanchain-0x8B9F9f4aA70B1B0d586BE8aDFb19c1Ac38e05E9a
- Wanchain-0x6e11655d6aB3781C6613db8CB1Bc3deE9a7e111F
- Wanchain-0xF17c59bF0f6326dA7A8cC2CE417e4F53a26707bd
