0x0000000000000000000000000000000000001001
The Bank precompile exposes the Bank Module balance for native SEI. It also lets an EVM caller send SEI to a native sei1... address.
Functions
balance() with usei. They do not cover arbitrary Bank Module denominations.
Read-only query methods
The Bank precompile also exposes a set of read-only query methods that mirror the Bank Module’s gRPC queries.supply and totalSupply are distinct: supply(denom) returns the total supply of a single denomination as a uint256, while totalSupply(pageKey) returns a paginated list of every denomination’s supply.
The supporting structs are:
pageKey argument are paginated. Pass empty bytes (0x) to request the first page, then pass the returned nextKey to fetch the next page. An empty nextKey means there are no more pages.
Setup
Query a native SEI balance
Bank Module queries return native SEI inusei, where 1 SEI equals 1,000,000 usei.
Send native SEI to a native address
sendNative() accepts SEI through msg.value. Use an 18-decimal EVM value for the transaction.