> For the complete documentation index, see [llms.txt](https://polarischain-1.gitbook.io/polarischain/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polarischain-1.gitbook.io/polarischain/8.-network-layer-and-protocol-operations/8.4-block-explorer-and-rest-api.md).

# 8.4 - Block Explorer & REST API

Each node exposes a hardened REST API for external querying and transaction submission:

| `GET /api/blocks`              | List recent blocks with pagination                   |
| ------------------------------ | ---------------------------------------------------- |
| `GET /api/blocks/{hash}`       | Retrieve full block details by digest                |
| `GET /api/transactions/{hash}` | Fetch transaction payload and execution status       |
| `GET /api/balances/{address}`  | Query `$POLA` and NAA holdings                       |
| `GET /api/naa/{id}`            | Retrieve asset metadata and current ownership        |
| `POST /api/transactions`       | Submit a signed transaction to the local queue       |
| `POST /api/faucet`             | Request testnet tokens (enabled only in faucet mode) |

All public endpoints are protected by a per-IP rate limiter (configurable; default: 100 requests per 60-second window). Loopback traffic is exempted to prevent local CLI/explorer traffic from exhausting remote client quotas. Public-facing listeners **require TLS in release builds**; binding a non-loopback address without a valid certificate triggers a clean startup exit.


---

# 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://polarischain-1.gitbook.io/polarischain/8.-network-layer-and-protocol-operations/8.4-block-explorer-and-rest-api.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.
