For AI agents: an LLM-friendly Markdown version of every page is available by appending .md to its URL or by sending an Accept: text/markdown request header. The full documentation index is at https://www.ankr.com/docs/llms.txt
Skip to main content

Sei


Sei API is available on Web3 API platform.

Sei is a general purpose, open-source Layer 1 blockchain specialized for the exchange of digital assets. Sei has only one value prop: exchange apps — whether it’s an NFT marketplace or gaming economy — Sei offers the best user experience to build upon.

We support the following networks and protocols for Sei:

Currently, we provide two interfaces to query Sei API — JSON-RPC and REST. Responses for both of them come in JSON format.

Here is the request/response structure to use for querying:

curl -X POST https://rpc.ankr.com/sei/YOUR_ANKR_API_KEY \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"method": "block",
"params": ["1"],
"id": 1
}'

EVM JSON-RPC methods


Tendermint JSON-RPC/REST methods

Info — node information:

  • status — retrieves Tendermint status including node info, pubkey, latest block hash, app hash, block height and time.
  • net_info — retrieves network info.
  • blockchain — retrieves block headers (max: 20) for minHeight <= height <= maxHeight.
  • block — retrieves a block at a specified height.
  • block_by_hash — retrieves a block by hash.
  • block_results — retrieves block results at a specified height.
  • commit — retrieves commit results at a specified height.
  • validators — retrieves a validator set at a specified height.
  • genesis_chunked — retrieves the Genesis in multiple chunks.
  • dump_consensus_state — retrieves consensus state.
  • consensus_state — retrieves consensus state.
  • consensus_params — retrieves consensus parameters.
  • unconfirmed_txs — retrieves the list of unconfirmed transactions.
  • num_unconfirmed_txs — retrieves data about unconfirmed transactions.
  • tx_search — searches for transactions.
  • block_search — searches for blocks by BeginBlock and EndBlock events.
  • tx — retrieves transactions by hash.

Tx — transactions broadcast information:

  • broadcast_tx_sync — returns with the response from CheckTx. Does not wait for DeliverTx result.
  • broadcast_tx_async — returns right away, with no response. Does not wait for CheckTx nor DeliverTx results.
  • broadcast_tx_commit — returns with the responses from CheckTx and DeliverTx.
  • check_tx — checks the transaction without executing it.

ABCI — ABCI info:

  • abci_info — retrieves info about the application.
  • abci_query — queries the application for some information.

Cosmos REST methods

Gaia REST:

  • /node_info — retrieves the properties of the connected node.

Transactions:

  • /txs — broadcasts a signed transaction to a full node.

Staking:

Query:

Services:


Methods

Methods, Information

Information, Transactions, ABCI, Gaia REST, Staking, Query

Query

Services