seid q evm subcommands let you read EVM state — token data, address associations, and transactions — without sending a transaction or running your own node.
Prerequisites
If your machine is not running a Sei node, append the--node flag to every seid q evm command, pointing at a Sei Cosmos RPC endpoint (the same kind used by seid status):
seid q evm tx, which uses --evm-rpc to point at an EVM JSON-RPC endpoint (port 8545 by convention). See Transaction Lookup below.
Refer to the RPC endpoints page for a list of available RPC endpoints.
Output format. Most commands print YAML by default. Pass
-o json for JSON. ERC20 read methods (name, balanceOf, …) return a bare value with no formatting — the result below is the raw stdout.Address Mapping
Sei addresses (sei1…) and EVM addresses (0x…) are linked via an on-chain association set the first time an account signs an EVM transaction or calls the address-association precompile. Until then, the two address spaces are independent.
Get Sei Address from EVM Address
Get EVM Address from Sei Address
If the account hasn’t been associated yet,
associated is false and the other field is empty. This is normal for accounts that have only ever transacted on one side of the chain.ERC20 Contract Queries
Call standard view methods on any ERC20 contract:WSEI):
Supported methods:
name— token namesymbol— token symboldecimals— token decimalstotalSupply— total supplybalanceOf [address]— balance of an addressallowance [owner] [spender]— current allowance
payload with the contract ABI.Payload Generation
Generate ABI-encoded call data without sending a transaction. Useful for craftingseid tx evm call-contract calls or inspecting expected calldata.
- ERC20
- ERC721
- ERC1155
- Custom ABI
ERC20 Payload Generation
from to to, using a prior approve):Supported methods:
transfer [to] [amount]approve [spender] [amount]transferFrom [from] [to] [amount]
1000000 for 1 USDC with 6 decimals).Pointer System
Pointers bridge the EVM and CosmWasm sides of Sei: a CW20 can be exposed as an ERC20 (via an EVM pointer at a0x address) and an ERC20 can be exposed as a CW20 (via a CW pointer at a sei1… address). The same applies to NFTs (CW721/ERC721) and multi-token contracts (CW1155/ERC1155).
Transaction Lookup
Query Transaction by Hash
Equivalent toeth_getTransactionByHash:
This is the only
seid q evm command that takes --evm-rpc (an EVM JSON-RPC endpoint, typically port 8545) instead of --node (a Cosmos RPC). The default if you omit the flag is http://0.0.0.0:8545, which only works if you’re running a local node. See RPC endpoints for hosted EVM RPCs.