Aleo REST API
What is Aleo?
Aleo is a Layer 1 blockchain that enables privacy-preserving applications through zero-knowledge cryptography. Programs execute on snarkVM, a zero-knowledge virtual machine developed by Provable, and can be written in Leo — a high-level language that compiles to Aleo instructions. Unlike traditional blockchains where all transaction data is publicly visible, Aleo uses zkSNARKs (specifically Varuna) to verify computations without revealing the underlying inputs, while still supporting public state where needed.
Aleo combines general-purpose programmability with default-private state, allowing applications to process sensitive data while remaining verifiable on-chain. The network is secured by AleoBFT, a DAG-based Byzantine Fault Tolerant proof-of-stake consensus, and uses a coinbase puzzle to incentivize a decentralized network of provers.
Interacting with Aleo
Aleo nodes expose a REST API interface that allows developers to interact with the blockchain using standard HTTP methods. This makes it easy to integrate Aleo functionality into web applications and services using familiar tools and libraries.
With this API, you can:
- Query block data, heights, hashes, and transaction details
- Look up validator committee information and delegator data
- Inspect deployed programs and query mapping values
- Retrieve state roots and state paths for verification
- Find transactions and transitions by various identifiers
- Broadcast transactions and prover solutions
You can access the API by:
- Running a local Aleo client
- Using a hosted provider such as a Quicknode Aleo endpoint, which delivers low-latency global access and enhanced reliability out of the box.
Supported Networks
Quicknode provides access to the following Aleo networks:
Complete reference for developers building on Aleo with Quicknode:
QuickStart
Get started with Aleo quickly. Follow our step-by-step quickstart to set up your endpoint and make your first API request.
Provider Endpoints
Learn how to configure and manage your Aleo endpoints for optimal performance and reliability.
API Overview
Explore supported APIs, networks, Quicknode products, and enhanced API features for building powerful applications.
Marketplace
Discover and integrate powerful add-ons and tools from the Quicknode Marketplace to enhance your web3 applications.
Endpoint Security
Secure your endpoints with authentication, whitelisting, and best security practices.
Error Codes
Understand common error codes and troubleshooting steps for Aleo API requests.