> For the complete documentation index, see [llms.txt](https://yupana-finance.gitbook.io/yupana-document-portal/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yupana-finance.gitbook.io/yupana-document-portal/developer-space/pricefeed-contract/getprice.md).

# getPrice

Entrypoint calls oracle about prices each of `tokenId` from input `set(nat)` and routes them to [receivePrice](/yupana-document-portal/developer-space/pricefeed-contract/receiveprice.md). It the end prices sends to [yToken.priceCallback](/yupana-document-portal/developer-space/ytoken-contract-methods/pricecallback.md) entrypoint.

### Usage

{% tabs %}
{% tab title="🌮 Taquito" %}

```typescript
const tokenSet = [0, 1, 5]; // token ids to update
const proxy = await tezos.contract.at(proxyAddress);
const operation = await proxy.methods.getPrice(tokenSet).send();
await operation.confirmation();
```

{% endtab %}

{% tab title="🐍   Pytezos" %}

```python
token_ids = [0, 1, 5]
proxy = ContractInterface.from_michelson(code) # or client.contract(contract_address)...
call = proxy.getPrice(token_ids)
opg = call.inject()
```

{% endtab %}
{% endtabs %}
