Skip to main content
The Auth precompile exposes read-only access to the Cosmos SDK auth module, letting Solidity contracts look up account details, the auth module parameters, and the next account number. All of its methods are views and never mutate state.

Address

The Auth precompile is available at the fixed address 0x000000000000000000000000000000000000100D.

Solidity Interface

Methods

account

Returns the Account details (address, account number, and sequence) for the Sei address associated with addr. The EVM address must be associated with a Sei address; if it is not, or if no account exists for the resolved address, the call reverts.

accounts

Returns a paginated list of all accounts. Pass empty bytes for the first page, then supply the returned nextKey to fetch subsequent pages.

params

Returns the auth module parameters, including maxMemoCharacters, txSigLimit, txSizeCostPerByte, sigVerifyCostEd25519, sigVerifyCostSecp256k1, and disableSeqnoCheck.

nextAccountNumber

Returns the next account number. This is a read-only view and does not increment the persisted global account number counter, so repeated calls return the same value.