> For the complete documentation index, see [llms.txt](https://docs.chiliz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chiliz.com/pt-br/desenvolver/avancado/obter-preco-usd-fan-tokens.md).

# Obter o preço em USD dos Fan Tokens

Obtenha preços em USD de Fan Tokens na Chiliz Chain em tempo real usando a rede oracle Pyth, com mais de 420 feeds de preço incluindo $CHZ, $PSG, $BAR, $CITY e outros Fan Tokens.

Seu smart contract não precisa existir em uma torre de marfim. Ele pode se beneficiar do uso de dados do mundo real.

Acessar dados externos do mundo real é útil porque permite que smart contracts sejam executados com base em eventos e condições em tempo real, tornando-os mais versáteis e aplicáveis a uma ampla gama de cenários.

No mundo blockchain, isso é feito por meio do que chamamos de Oracle.

## O que é um Oracle?

Oracles fazem a ponte entre blockchains e o mundo externo, permitindo que smart contracts acessem dados do mundo real, fundamentais para aplicações em finanças, cadeias de suprimentos e jogos.

Oracles são essenciais para a integração do blockchain com o mundo real.

## O que isso significa para os desenvolvedores da Chiliz Chain?

Desde que você tenha acesso a um Oracle que ofereça dados em tempo real relevantes para seu projeto, pode construir algo que se mantém atualizado com o mundo real.

## Como fazer usando Pyth?

A Pyth Network fornece principalmente dados de mercado financeiro de alta fidelidade.\
O oracle mais conhecido da Pyth é o Price Feeds, que fornece preços em tempo real para muitos ativos em vários ecossistemas blockchain, incluindo Solana, muitas redes EVM, Aptos, Sui, NEAR e várias redes Cosmos.

Em particular, o Price Feeds da Pyth oferece acesso ao valor ao vivo dos Fan Tokens™ em dólares americanos, como [PSG](https://pyth.network/price-feeds/crypto-psg-usd), [JUV](https://pyth.network/price-feeds/crypto-juv-usd), [BAR](https://pyth.network/price-feeds/crypto-bar-usd) e [outros](https://pyth.network/price-feeds) (busque por "fan tokens" nessa página).

A documentação da Pyth fornece uma explicação completa sobre [como usar dados em tempo real em contratos EVM](https://docs.pyth.network/price-feeds/use-real-time-data/evm).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.chiliz.com/pt-br/desenvolver/avancado/obter-preco-usd-fan-tokens.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
