# Chiliz Chain API'si

Chiliz Chain API, CHZ arzı ve yönetişimi hakkında, belirli bir bloğa kadar dolaşımdaki arz ayrıntıları ve verilen bir adres için stake etme bilgileri dahil olmak üzere, faydalı bilgilere erişim sağlar.

## API Ayrıntıları

### Temel URL

API'nin temel URL'si <https://cc-api.chiliz.com/>

Varsayılan Swagger dokümanı burada mevcuttur: <https://cc-api.chiliz.com/docs>

### Kimlik Doğrulama

Chiliz Chain API, güvenlik şemalarını tanımlamak için [OpenAPI Specification](https://www.openapis.org/) (OAS) v3.0.3 sürümünü kullanır.

Lütfen [OAS 3.0 spesifikasyonuna](https://spec.openapis.org/oas/v3.0.3.html) başvurun; çünkü belirli kimlik doğrulama yöntemleri bu dokümantasyonda ayrıntılı olarak verilmemiştir.

### Veri Biçimi

Tüm istekler ve yanıtlar JSON formatındadır.

## Uç Noktalar

### GET /supply

Belirtilen bir blok numarasına kadar CHZ'nin mevcut dolaşımdaki arzını, ayrıca bloğa özgü enflasyon ve deflasyon bilgilerini getirir.

## GET /supply

>

```json
{"openapi":"3.0.3","info":{"title":"Chiliz Chain API","version":"0.1.0"},"paths":{"/supply":{"get":{"parameters":[{"schema":{"type":"number"},"in":"query","name":"block","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"block":{"type":"string"},"totalSupply":{"type":"string"},"blockDeflation":{"type":"string"},"blockInflation":{"type":"string"},"totalBurnedSupply":{"type":"string"},"totalIntroducedSupply":{"type":"string"}},"required":["block","totalSupply","blockDeflation","blockInflation","totalBurnedSupply","totalIntroducedSupply"],"additionalProperties":false}}}}}}}}}
```

### GET /staker-info

Belirli bir epoch numarasına kadar, belirli bir adres için mevcut toplam stake edilen miktarı ve staking ödüllerini, ayrıca CHZ'nin nerede stake edildiğine dair ayrıntıları (validator'lar ve miktarlar) getirir.

## GET /staker-info

>

```json
{"openapi":"3.0.3","info":{"title":"Chiliz Chain API","version":"0.1.0"},"paths":{"/staker-info":{"get":{"parameters":[{"schema":{"type":"string"},"in":"query","name":"validator","required":false},{"schema":{"type":"string"},"in":"query","name":"staker","required":true},{"schema":{"type":"number"},"in":"query","name":"toEpoch","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"totalRewards":{"type":"string"},"stakedAmount":{"type":"string"},"allStakes":{"type":"array","items":{"type":"object","properties":{"validator":{"type":"string"},"stakedAmount":{"type":"number"}},"required":["validator","stakedAmount"],"additionalProperties":false}}},"required":["totalRewards","stakedAmount","allStakes"],"additionalProperties":false}}}}}}}}}
```


---

# Agent Instructions: 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:

```
GET https://docs.chiliz.com/tr-ai/develop/chiliz-chain-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
