# API

## **Ternoa API: Unlock Seamless Blockchain Integration**

### **What is the Ternoa API?**

The **Ternoa zkEVM+ API** provides developers with a powerful suite of RESTful endpoints to interact seamlessly with the **Ternoa blockchain**. It enables easy access to blockchain data, token management, and network interactions—allowing developers to build robust applications on **Ternoa’s zkEVM Layer 2**.

### **Key Features**

🟧 **Blockchain Data Access** – Query information on blocks, transactions, and addresses in real-time.\
🟧 **Token Management** – Retrieve balances, execute transfers, and track token activity.\
🟧 **Smart Contract Interactions** – Read contract states and execute calls directly from your app.\
🟧 **Network Monitoring** – Access real-time network status, gas fees, and key blockchain metrics.

### **API Endpoints Overview**

🔸 **Blocks & Transactions:** Fetch details about blocks, transactions, and confirmations.\
🔸 **Accounts & Balances:** Retrieve account details, token balances, and transfer history.\
🔸 **Contract Calls:** Interact with deployed smart contracts via read operations.\
🔸 **Network Status:** Get real-time network health, gas price estimates, and sync status.

### **How to Use the API**

1️⃣ **Explore API Docs:** Visit the full documentation [here](https://explorer-mainnet.zkevm.ternoa.network/api-docs).\
2️⃣ **Integrate in Your App:** Use RESTful API calls to fetch blockchain data and execute transactions.\
3️⃣ **Deploy & Scale:** Leverage **Ternoa’s zkEVM+ API** to build scalable, blockchain-powered applications.


---

# 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.ternoa.network/build/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.
