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

PropertyValue
Network NameSei Mainnet
Chain ID1329
Native CurrencySEI
Decimals18
Network TypeLayer 1 (Parallelized EVM)
Block Time~400 milliseconds
FinalityInstant (~400ms)

Base URL

https://shared.eu-central-1.getblock.io
https://shared.ap-southeast-1.getblock.io
https://shared.us-east-1.getblock.io

Supported Networks

NetworkChain IDJSON RPCWSS
Mainnet1329✅✅

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).

  1. Setup project

    Create and initialize a new project:

    bashmkdir sei-api-quickstart
    cd sei-api-quickstart
    npm init --yes
  2. Install Axios

    bashnpm install axios
  3. Create file

    Create a new file named index.js. This is where you will make your first call.

  4. Set ES module type

    Set the ES module "type": "module" in your package.json.

  5. Add code

    Add the following code to index.js:

    index.js

    javascriptimport 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.

  6. Run the script

    bashnode index.js

    Expected output (example):

    json{
        "jsonrpc": "2.0",
        "id": "getblock.io",
        "result": "0xb6fd83a"
    }
  1. Setup the project directory

    bashmkdir sei-api-quickstart
    cd sei-api-quickstart
  2. Create and activate a virtual environment

    bashpython -m venv venv
    source venv/bin/activate
    
    # On Windows, use venv\Scripts\activate
  3. Install requests

    bashpip install requests
  4. Create script

    Create a file called main.py with the following content:

    main.py

    pythonimport 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.

  5. Run the script

    bashpython main.py

Available API Methods

GetBlock provides access to standard Ethereum JSON-RPC methods and Sei-specific extensions for the Sei network.

Transaction Methods

MethodDescription
eth_getTransactionByHashReturns transaction by hash
eth_getTransactionByBlockHashAndIndexReturns transaction by block hash and index
eth_getTransactionByBlockNumberAndIndexReturns transaction by block number and index
eth_getTransactionCountReturns the transaction count (nonce)
eth_getTransactionReceiptReturns the receipt of a transaction
eth_sendRawTransactionSubmits a signed transaction

Block Methods

MethodDescription
eth_blockNumberReturns the current block number
eth_getBlockByHashReturns block by hash
eth_getBlockByNumberReturns block by number
eth_getBlockReceiptsReturns all receipts for a block
eth_getBlockTransactionCountByHashReturns transaction count by block hash
eth_getBlockTransactionCountByNumberReturns transaction count by block number

Account/State Methods

MethodDescription
eth_getBalanceReturns the SEI balance of an address
eth_getStorageAtReturns the value at a storage position
eth_getCodeReturns the code at an address
eth_callExecutes a call without creating a transaction
eth_getProofReturns account and storage proof
eth_accountsReturns a list of addresses owned by client

Gas and Fee Methods

MethodDescription
eth_gasPriceReturns the current gas price
eth_estimateGasEstimates gas for a transaction
eth_feeHistoryReturns historical gas information

Filter Methods

MethodDescription
eth_getLogsReturns logs matching filter criteria
eth_newFilterCreates a log filter
eth_newBlockFilterCreates a block filter
eth_getFilterChangesReturns filter changes since last poll
eth_getFilterLogsReturns all logs matching filter
eth_uninstallFilterRemoves a filter

Network/Chain Methods

MethodDescription
eth_chainIdReturns the chain ID (1329)
eth_coinbaseReturns the fee-collector address
eth_syncingReturns sync status
net_versionReturns the network ID
web3_clientVersionReturns client version

Debug Methods

MethodDescription
debug_traceBlockByHashTraces all transactions in a block by hash
debug_traceBlockByNumberTraces block by number
debug_traceTransactionTraces a specific transaction

Sei-Specific Methods

MethodDescription
sei_associateAssociates Sei address with EVM address
sei_getBlockReceiptsReturns block receipts including synthetic transactions
sei_getLogsReturns logs including synthetic logs from Cosmos events
sei_getFilterLogsReturns filter logs including synthetic logs
sei_traceBlockByNumberExcludeTraceFailTraces block excluding failed traces
sei_getTransactionReceiptExcludeTraceFailReturns receipt excluding failed traces

Support

For technical support and questions:

See Also