> ## Documentation Index
> Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# getPreConfCoverage

> Lấy độ phủ của Preconfirmations dưới dạng phần trăm lượng stake của mạng và phân bổ theo khu vực.

Sử dụng phương thức này để lấy [độ phủ của Preconfirmations](/docs/vi/pre-confirmations/overview#phạm-vi-phủ). Phản hồi bao gồm độ phủ lượng stake của mạng và thông tin chi tiết theo khu vực.

## Điểm cuối

Gửi yêu cầu HTTP POST đến điểm cuối [Gatekeeper](/docs/vi/gatekeeper/overview) của Helius:

```text theme={"system"}
POST https://beta.helius-rpc.com/?api-key=YOUR_API_KEY
```

## Xác thực

<ParamField query="api-key" type="string" required>
  Khóa API Helius của bạn, được truyền dưới dạng tham số truy vấn `api-key`.
</ParamField>

## Nội dung yêu cầu

Phương thức này không nhận tham số. Hãy bỏ `params` khỏi yêu cầu.

## Phản hồi

<ResponseField name="result.networkSharePercent" type="number">
  Phần trăm tổng lượng stake của mạng được Helius và BAM bao phủ.
</ResponseField>

<ResponseField name="result.coverageByRegion" type="object">
  Tỷ lệ lượng stake được bao phủ tại mỗi khu vực. Ví dụ: `"fra": 0.27` có nghĩa là Frankfurt chiếm 27% lượng stake được bao phủ.
</ResponseField>

<Note>
  Độ phủ được đo theo lượng stake, không phải theo tỷ lệ phần trăm giao dịch được phân phối.
  Chỉ số này bao gồm cả hai nguồn, bất kể các bộ lọc đăng ký của bạn, và không
  đảm bảo một luồng liên tục. Xem [Độ phủ](/docs/vi/pre-confirmations/overview#phạm-vi-phủ).
</Note>

<RequestExample>
  ```bash cURL theme={"system"}
  curl "https://beta.helius-rpc.com/?api-key=YOUR_API_KEY" \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{
      "jsonrpc": "2.0",
      "id": 1,
      "method": "getPreConfCoverage"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={"system"}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
      "networkSharePercent": 45.84,
      "coverageByRegion": {
        "ams": 0.21,
        "dub": 0.02,
        "ewr": 0.12,
        "fra": 0.27,
        "hkg": 0.01,
        "iad": 0.01,
        "lax": 0.02,
        "lon": 0.06,
        "pit": 0.01,
        "sea": 0.03,
        "sgp": 0.08,
        "slc": 0.01,
        "sqq": 0.09,
        "tyo": 0.06
      }
    }
  }
  ```
</ResponseExample>
