Base is a secure, low-cost, builder-friendly Ethereum Layer 2 (L2) solution designed to bring the next billion users onchain. Developed and incubated within Coinbase, Base is built on the MIT-licensed OP Stack, in collaboration with Optimism, with a goal to progressively decentralize in the coming years. By leveraging Base, developers have an opportunity to provide users with a robust Ethereum L2 environment at a fraction of the cost.
The Base API allows developers to interface with the Base mainnet and testnet nodes. With this API, developers can execute transactions, query on-chain data, and interact with the Base network, relying on a JSON-RPC standard.
Explained in Base API Quickstart
Absolutely. Base is built as an Ethereum L2, which means it confidently supports any Ethereum Virtual Machine (EVM) codebase. This allows developers to smoothly deploy and migrate assets and users from Ethereum L1 and other interoperable chains to Base.
Base utilizes the JSON-RPC API standard. This API is crucial for any blockchain interaction on the Base network, allowing users to read block/transaction data, query chain information, execute smart contracts, and store data on-chain.
When accessing the Base network via a node provider like Alchemy, Base 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!
The primary currency for transaction fees and other network activities on Base is ETH.
Developers should use the Base Goerli testnet for Base. This testnet provides an environment to deploy smart contracts, execute transactions, and test applications. ETH for the Base Goerli can be obtained from the Base Goerli Faucet.
You can find the list of all the methods Alchemy support for the Base API on Base API Endpoints page.
The Base Bridge facilitates the bridging of ETH between Ethereum and Base. To bridge assets:
- Navigate to Base Bridge for Base Goerli or Base Mainnet.
- Click "Connect wallet" and link your wallet.
- Specify the amount of ETH (or a supported asset) you wish to deposit or withdraw.
Don't worry, we got you. Check out our discord and feel free to post any questions you have!