# Fantom API

Fantom is a fast, scalable, and secure layer-1 platform built on a consensus protocol called **Lachesis** which is a breakthrough **aBFT consensus algorithm** developed by Fantom. The network is also permissionless, decentralized, and open-source.

Due to its revolutionary aBFT consensus mechanism, Fantom promises to be much faster and cheaper than traditional technologies but extremely secure at the same time.

## Key features

**Speed** - Fantom achieves transactions finality in 1 second on average.

**Scalability** -Fantom can process thousands of transactions per second and can scale to hundreds of nodes.

**Security** - Lachesis provides institutional-grade security to distributed networks. Fantom offers absolute finality, which means that transactions can never be reverted like in networks with probabilistic finality.\
Fantom is also leaderless. By removing leaders, security doesn’t rely on a small set of actors.

**Smart contract support** - Fantom is fully compatible with Ethereum. Developers can create and deploy smart contracts as they would on Ethereum.

**Consensus-as-a-service** - Lachesis can be used to create any kind of private and public distributed ledger, using EVM or Cosmos SDK.

### BwareLabs supported network types

* Mainnet
* Testnet

### **Available endpoint types on BwareLabs**

* JSON RPC;
* WebSockets;

### Official Documentation

<https://docs.fantom.foundation/>


---

# 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.bwarelabs.com/api-docs/fantom-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.
