# receivePrice

This entrypoint is a part of the [getPrice](https://yupana-finance.gitbook.io/yupana-document-portal/developer-space/pricefeed-contract/getprice) call.

Receives data `(string * (timestamp * nat))` from oracle as `(pairName, timestamp, oraclePrice)` parses from `oraclePrice` normalized `price`  and send it as a callback to [yToken.priceCallback](https://yupana-finance.gitbook.io/yupana-document-portal/developer-space/ytoken-contract-methods/pricecallback) entrypoint.

{% hint style="danger" %}
This entrypoint is configured to process calls only from `oracle` contract address from its storage, so no one else could call this method.
{% endhint %}
