Skip to main content

Documentation Index

Fetch the complete documentation index at: https://seilabs-docs-evm-reference-and-sei-js-examples.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Sei exposes native chain functionality through precompiled contracts at deterministic EVM addresses. You can call them from any EVM library (viem, ethers, wagmi) using the ABIs exported from @sei-js/precompiles — no special SDK required. Available precompiles include:
  • Bank — query native denom balances (usei, factory tokens)
  • Staking — delegate, undelegate, query delegations
  • Distribution — claim staking rewards
  • Governance — vote on active proposals
  • JSON — parse JSON payloads within contracts
  • P256 — verify P-256 elliptic curve signatures
For installation instructions, code examples (viem and ethers), common patterns, and a full working Node.js script, see the precompiles reference:

Precompile Example Usage

Usage examples for all precompiles with viem and ethers — Bank, Staking, Distribution, Governance, JSON, and P256.
For the full ABI reference and every available function on each precompile:

Staking Precompile

Governance Precompile

Distribution Precompile

JSON Precompile

P256 Precompile