> 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

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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.chiliz.com/th/phatthana/sung-khuen/raka-fan-token.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
