> 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/th/phatthana/sung-khuen/raka-fan-token.md).

# ราคา USD ของ Fan Token

รับราคา USD แบบเรียลไทม์สำหรับ Fan Tokens บน Chiliz Chain โดยใช้ oracle network ของ Pyth พร้อม price feed กว่า 420 รายการ รวมถึง $CHZ, $PSG, $BAR, $CITY และ Fan Token ชื่ออื่นๆ

smart contract ของคุณไม่จำเป็นต้องอยู่ในหอคอยงาช้าง มันสามารถใช้ประโยชน์จากข้อมูลในโลกจริงได้

การเข้าถึงข้อมูลภายนอกจากโลกจริงมีประโยชน์ เพราะช่วยให้ smart contract สามารถทำงานตามเหตุการณ์และเงื่อนไขแบบเรียลไทม์ ทำให้มีความยืดหยุ่นและนำไปใช้กับสถานการณ์ต่างๆ ได้หลากหลาย

ในโลก blockchain สิ่งนี้ทำได้ผ่านสิ่งที่เราเรียกว่า oracle

## oracle คืออะไร?

oracle เชื่อมโยง blockchain กับโลกภายนอก ช่วยให้ smart contract เข้าถึงข้อมูลในโลกจริงได้ ซึ่งมีความสำคัญอย่างยิ่งสำหรับแอปพลิเคชันด้านการเงิน ห่วงโซ่อุปทาน และเกม

oracle เป็นสิ่งจำเป็นสำหรับการผสานรวม blockchain กับโลกจริง

## หมายความว่าอย่างไรสำหรับนักพัฒนา Chiliz Chain?

หากคุณเข้าถึง oracle ที่ให้ข้อมูลแบบเรียลไทม์ที่เกี่ยวข้องกับโปรเจกต์ของคุณ คุณสามารถสร้างสิ่งที่อัปเดตตามโลกจริงได้อยู่เสมอ

## วิธีทำโดยใช้ Pyth?

Pyth Network ให้บริการข้อมูลตลาดการเงินความเที่ยงตรงสูงเป็นหลัก\
oracle ที่เป็นที่รู้จักมากที่สุดของ Pyth คือ Price Feeds ซึ่งให้ราคาแบบเรียลไทม์สำหรับสินทรัพย์หลายรายการบน blockchain ecosystem ต่างๆ รวมถึง Solana, EVM chains หลายรายการ, Aptos, Sui, NEAR และ Cosmos chains หลายรายการ

โดยเฉพาะอย่างยิ่ง Price Feeds ของ Pyth ให้คุณเข้าถึงมูลค่าปัจจุบันของ Fan Tokens™ เป็นสกุลเงินดอลลาร์สหรัฐ เช่น [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) และ [อื่นๆ](https://pyth.network/price-feeds) (ค้นหา "fan tokens" ในหน้านั้น)

เอกสารของ Pyth ให้คำอธิบายครบถ้วนเกี่ยวกับ [วิธีใช้ข้อมูลแบบเรียลไทม์ใน EVM contracts](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/th/phatthana/sung-khuen/raka-fan-token.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.
