SEI
Sei is a high-performance Layer 1 blockchain and the first parallelized EVM, designed to deliver Web2-like experiences for decentralized applications. Built on the Cosmos SDK with Twin Turbo Consensus, Sei achieves sub-400 millisecond finality and can process up to 200,000 transactions per second. The network features optimistic parallelization that allows transactions to execute simultaneously, SeiDB for optimized storage, and full EVM compatibility enabling seamless deployment of Ethereum smart contracts. Sei also supports cross-VM interoperability between EVM and CosmWasm environments.
Key Features
- First Parallelized EVM: Optimistic parallelization enables concurrent transaction execution without developer-defined dependencies
- Ultra-Fast Finality: Twin Turbo Consensus achieves ~400ms block times with instant finality
- High Throughput: Capable of processing up to 200,000 TPS with 100 megagas per second
- Full EVM Compatibility: Deploy Ethereum smart contracts without modification using familiar tools
- Cross-VM Interoperability: Seamless composability between EVM and CosmWasm environments
- SeiDB Storage: Optimized database architecture for faster reads/writes and reduced state bloat
- Sub-Cent Fees: Extremely low transaction costs for users
- SEI Native Token: Used for gas fees, staking, and governance (18 decimals)
- Cosmos Ecosystem: Built on Cosmos SDK with IBC support for cross-chain communication
TECHNICAL DISCLAIMER: AUTHORITATIVE JSON-RPC API SPECIFICATION
GetBlock's RPC API reference documentation is provided exclusively for informational purposes and streamlined developer experience optimization. The canonical and normative specification for Ethereum Virtual Machine (EVM) JSON-RPC methods is solely maintained and published through the official Ethereum Foundation documentation portal at ethereum.org. This resource constitutes the sole authoritative reference implementation of the JSON-RPC 2.0 protocol interface across EVM-compatible execution clients.
Network Information
| Property | Value |
|---|---|
| Network Name | Sei Mainnet |
| Chain ID | 1329 |
| Native Currency | SEI |
| Decimals | 18 |
| Network Type | Layer 1 (Parallelized EVM) |
| Block Time | ~400 milliseconds |
| Finality | Instant (~400ms) |
Base URL
https://shared.eu-central-1.getblock.iohttps://shared.ap-southeast-1.getblock.iohttps://shared.us-east-1.getblock.ioSupported Networks
| Network | Chain ID | JSON RPC | WSS |
|---|---|---|---|
| Mainnet | 1329 | ✅ | ✅ |
Quickstart
In this section, you will learn how to make your first call with either:
- Axios
- Python
Before you begin, you must have already installed npm or yarn on your local machine (for the Axios example) or Python and pip (for the Python example).
Setup project
Create and initialize a new project:
bash
mkdir sei-api-quickstart cd sei-api-quickstart npm init --yesInstall Axios
bash
npm install axiosCreate file
Create a new file named
index.js. This is where you will make your first call.Set ES module type
Set the ES module
"type": "module"in yourpackage.json.Add code
Add the following code to
index.js:index.js
javascript
import axios from 'axios'; const data = JSON.stringify({ "jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": "getblock.io" }); const config = { method: 'post', url: 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/', headers: { 'Content-Type': 'application/json' }, data: data }; axios(config) .then(response => console.log(JSON.stringify(response.data))) .catch(error => console.log(error));Replace
<ACCESS-TOKEN>with your actual access token from GetBlock.Run the script
bash
node index.jsExpected output (example):
json
{ "jsonrpc": "2.0", "id": "getblock.io", "result": "0xb6fd83a" }
Setup the project directory
bash
mkdir sei-api-quickstart cd sei-api-quickstartCreate and activate a virtual environment
bash
python -m venv venv source venv/bin/activate # On Windows, use venv\Scripts\activateInstall requests
bash
pip install requestsCreate script
Create a file called
main.pywith the following content:main.py
python
import requests import json url = "https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/" payload = json.dumps({ "jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": "getblock.io" }) headers = { 'Content-Type': 'application/json' } response = requests.post(url, headers=headers, data=payload) print(response.text)Replace
<ACCESS-TOKEN>with your actual access token from GetBlock.Run the script
bash
python main.py
Available API Methods
GetBlock provides access to standard Ethereum JSON-RPC methods and Sei-specific extensions for the Sei network.
Transaction Methods
| Method | Description |
|---|---|
| eth_getTransactionByHash | Returns transaction by hash |
| eth_getTransactionByBlockHashAndIndex | Returns transaction by block hash and index |
| eth_getTransactionByBlockNumberAndIndex | Returns transaction by block number and index |
| eth_getTransactionCount | Returns the transaction count (nonce) |
| eth_getTransactionReceipt | Returns the receipt of a transaction |
| eth_sendRawTransaction | Submits a signed transaction |
Block Methods
| Method | Description |
|---|---|
| eth_blockNumber | Returns the current block number |
| eth_getBlockByHash | Returns block by hash |
| eth_getBlockByNumber | Returns block by number |
| eth_getBlockReceipts | Returns all receipts for a block |
| eth_getBlockTransactionCountByHash | Returns transaction count by block hash |
| eth_getBlockTransactionCountByNumber | Returns transaction count by block number |
Account/State Methods
| Method | Description |
|---|---|
| eth_getBalance | Returns the SEI balance of an address |
| eth_getStorageAt | Returns the value at a storage position |
| eth_getCode | Returns the code at an address |
| eth_call | Executes a call without creating a transaction |
| eth_getProof | Returns account and storage proof |
| eth_accounts | Returns a list of addresses owned by client |
Gas and Fee Methods
| Method | Description |
|---|---|
| eth_gasPrice | Returns the current gas price |
| eth_estimateGas | Estimates gas for a transaction |
| eth_feeHistory | Returns historical gas information |
Filter Methods
| Method | Description |
|---|---|
| eth_getLogs | Returns logs matching filter criteria |
| eth_newFilter | Creates a log filter |
| eth_newBlockFilter | Creates a block filter |
| eth_getFilterChanges | Returns filter changes since last poll |
| eth_getFilterLogs | Returns all logs matching filter |
| eth_uninstallFilter | Removes a filter |
Network/Chain Methods
| Method | Description |
|---|---|
| eth_chainId | Returns the chain ID (1329) |
| eth_coinbase | Returns the fee-collector address |
| eth_syncing | Returns sync status |
| net_version | Returns the network ID |
| web3_clientVersion | Returns client version |
Debug Methods
| Method | Description |
|---|---|
| debug_traceBlockByHash | Traces all transactions in a block by hash |
| debug_traceBlockByNumber | Traces block by number |
| debug_traceTransaction | Traces a specific transaction |
Sei-Specific Methods
| Method | Description |
|---|---|
| sei_associate | Associates Sei address with EVM address |
| sei_getBlockReceipts | Returns block receipts including synthetic transactions |
| sei_getLogs | Returns logs including synthetic logs from Cosmos events |
| sei_getFilterLogs | Returns filter logs including synthetic logs |
| sei_traceBlockByNumberExcludeTraceFail | Traces block excluding failed traces |
| sei_getTransactionReceiptExcludeTraceFail | Returns receipt excluding failed traces |
Support
For technical support and questions:
- Support: support@getblock.io