Citrea is a Bitcoin L2 zk-rollup with a Type-2 zkEVM that keeps data availability and settlement on Bitcoin—via its BitVM-based “Clementine” two-way peg—bringing full EVM compatibility to BTC.
Check out our Citrea API Quickstart guide to get started building on Citrea.
The Citrea API lets you interface with the Citrea testnet (mainnet coming soon). With this API, you can execute transactions, query onchain data, and interact with the Citrea network using the JSON-RPC standard.
Yes, Citrea is EVM compatible.
Citrea uses the JSON-RPC API standard. This API is essential for any blockchain interaction on the Citrea network, allowing you to read block/transaction data, query chain information, execute smart contracts, and store data onchain.
Citrea supports standard Ethereum JSON-RPC methods. Some chain-specific methods may vary. Please check the Citrea API Endpoints for a complete list.
When accessing the Citrea network via a node provider like Alchemy, you use an API key to send transactions and retrieve data from the network. For the best development experience, we recommend that you sign up for a free API key.
Common Ethereum libraries like ethers.js should be compatible with Citrea, given its EVM nature.
If you have any questions or feedback, contact us at [email protected] or open a ticket in the Alchemy Dashboard.