You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overview: Querying Transaction Data on Sei EVM and Tendermint
This guide covers how to query transaction data on Sei’s blockchain using both Tendermint-based and EVM-based methods. The examples demonstrate working queries and sample responses, showing how the same transaction can be viewed from different perspectives. Here, the two transaction hashes we use represent the same transaction: one is the EVM-compatible hash, while the other is the Tendermint (Cosmos) hash. Both provide insights into the same event but from the unique contexts of their respective environments.
1. Tendermint REST API (cosmos/tx/v1beta1/txs/{hash})
SeiDB is a storage optimization solution aimed at mitigating the challenges of growing blockchain state. It replaces the traditional IAVL-based storage system used in Cosmos SDK-based blockchains with an enhanced storage model to tackle storage bloat, enhance performance, and ensure efficient state handling for both full nodes and archive nodes. Key components of SeiDB include VersionDB and MemIAVL, which provide significant improvements to the storage efficiency and performance of nodes across the network.
With the v5.9.0 release, we have reverted the EVM RPC methods to their original specifications, ensuring strict EVM compliance. At the same time, we continue to support developers who require both synthetic and EVM data through updated Sei-specific methods.
Summary of Changes:
EVM RPC methods:
eth_getBlockByNumber, eth_getBlockReceipts, and eth_getLogs will now return only EVM-specific data.
Synthetic transaction hashes (Tendermint hashes prefixed with '0x') can still be queried using eth_getTransactionReceipt. However, this data is only available when explicitly queried with the synthetic hash and will not appear in any other EVM RPC responses by default.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We believe providing both a unified, simplified solution alongside the original untouched data streams is the most sensible path forward for the majority of developers. In an effort to avoid introducing further frustration and integration issues while solving any existing problems, we are reverting the EVM RPC to its original specification and introducing several new custom API methods that will continue serving synthetic events.
We apologize for any inconvenience and additional work this has caused. These changes have been made with long-term stability in mind and should fully resolve the current situation. Please review carefully to ensure your applications continue functioning as expected and your data remains accurate.
What’s Changing:
Reversion of the EVM RPC:
The modified EVM RPC will be reverted to 100% conform to the EVM standard. This means that eth_getLogs, eth_getBlock, and eth_getBlockByNumber will no longer include any T
There are a bunch of different ways to use this depending on what tokens you are sending, and to which addresses. They can be combined if it is multiple coins to a single address.
How to Compile Protobuf Files and Integrate Sei-js
This guide will walk you through compiling Protobuf (.proto) files into TypeScript code for use in Cosmos SDK-based projects, using either Telescope or Sei-js.
Using Telescope
Telescope is a TypeScript transpiler designed for Cosmos Protobuf files, converting them into TypeScript with typed interfaces and helper functions.