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 allows developers to interface with the Citrea testnet (mainnet coming soon). With this API, developers can execute transactions, query on-chain data, and interact with the Citrea network, relying on a JSON-RPC standard.
Yes, Citrea is EVM compatible.
Citrea uses the JSON-RPC API standard. This API is crucial for any blockchain interaction on the Citrea network, allowing users to read block/transaction data, query chain information, execute smart contracts, and store data on-chain.
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, Citrea developers 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, please contact us at support@alchemy.com or open a ticket in the dashboard.