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.
透過此 API,您可以:
- 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
您可以透過以下方式存取 API:
- 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.
支援的網路
Quicknode provides access to the following Aleo networks:
Complete reference for developers building on Aleo with Quicknode:
快速入門
Get started with Aleo quickly. Follow our step-by-step quickstart to set up your endpoint and make your first API request.
供應商端點
Learn how to configure and manage your Aleo endpoints for optimal performance and reliability.
API 概覽
探索受支援的 API、網路、Quicknode 產品以及增強的 API 功能,以建置功能強大的應用程式。
市集
探索並整合來自 Quicknode 市集的強大外掛程式與工具,以強化您的 Web3 應用程式。
端點安全
透過身分驗證、白名單機制及最佳安全實務,確保您的端點安全。
錯誤代碼
Understand common error codes and troubleshooting steps for Aleo API requests.