Starknet RPC
Starknet Overview
Starknet is a Layer 2 zero-knowledge rollup (zkRollup) built on Ethereum. It uses zk-STARKs to generate and verify proofs, enabling efficient transaction settlement on Ethereum with lower gas costs compared to zk-SNARKs.
Starknet runs on CairoVM, a custom virtual machine, and uses the Cairo programming language for smart contracts. Cairo is designed to produce proofs efficiently while offering developers a Solidity-like experience with stronger security guarantees, influenced by Rust.
Transactions on Starknet can be paid in STRK (its native token), ETH, or USDC.
Interacting with Starknet’s APIs
Starknet exposes a JSON-RPC interface that enables programmatic access to incoming block and transaction data. Use this interface to read chain state, submit transactions, and interact with contracts. The Quicknode Starknet documentation is continuously evolving as the chain undergoes upgrades and changes, so we highly recommend cross-referencing with the official Starknet documentation for the latest updates on its RPC methods.
Make Starknet API Calls
The quickest way to start building on Starknet is to create a Quicknode endpoint and send your first JSON-RPC request.
Quicknode provides managed Starknet endpoints, giving you immediate access to the Starknet Mainnet and Sepolia Testnet without the overhead of running infrastructure. These endpoints offer:
- Haute fiabilité – une infrastructure distribuée mondialement conçue pour minimiser les temps d'arrêt
- Archive data – full historical state for in-depth queries
- Performances améliorées – latence et gestion des requêtes optimisées pour les applications de qualité production
- Integrated ecosystem – additional functionality through specialized APIs (add-ons) on the Quicknode Marketplace
Visitez la page QuickStart pour créer votre endpoint et envoyer votre première requête.
Réseaux pris en charge
Quicknode provides access to the following Starknet networks:
Complete reference for developers building on Starknet with Quicknode:
Démarrage rapide
Get started with Starknet quickly. Follow our step-by-step quickstart to set up your endpoint and make your first API request.
Points d'accès du fournisseur
Learn how to configure and manage your Starknet endpoints for optimal performance and reliability.
Présentation de l'API
Explorez les API, réseaux, produits Quicknode pris en charge et les fonctionnalités API améliorées pour créer des applications puissantes.
Marketplace
Découvrez et intégrez des modules complémentaires et des outils puissants du Quicknode Marketplace pour améliorer vos applications web3.
Sécurité des points de terminaison
Sécurisez vos points d'accès avec l'authentification, la liste blanche et les meilleures pratiques de sécurité.
Codes d'erreur
Understand common error codes and troubleshooting steps for Starknet API requests.