@somnia-chain/markets-sdk / chains / somniaMainnet
Variable: somniaMainnet
constsomniaMainnet:object
Defined in: packages/sdk/src/chains/definitions/somniaMainnet.ts:11
Somnia mainnet (chain id 5031) — the production network. Native token is
SOMI; blocks land roughly every 100 ms.
Same content as viem's somnia, under the name the runbooks use.
Type Declaration
blockExplorers
blockExplorers:
object
Collection of block explorers
blockExplorers.default
readonlydefault:object
blockExplorers.default.name
readonlyname:"Somnia Explorer"="Somnia Explorer"
blockExplorers.default.url
readonlyurl:"https://explorer.somnia.network"="https://explorer.somnia.network"
blockExplorers.default.apiUrl
readonlyapiUrl:"https://explorer.somnia.network/api"="https://explorer.somnia.network/api"
blockTime
blockTime:
100
Block time in milliseconds.
contracts
contracts:
object
Collection of contracts
contracts.multicall3
readonlymulticall3:object
contracts.multicall3.address
readonlyaddress:"0x5e44F178E8cF9B2F5409B6f18ce936aB817C5a11"="0x5e44F178E8cF9B2F5409B6f18ce936aB817C5a11"
contracts.multicall3.blockCreated
readonlyblockCreated:38516341=38516341
id
id:
5031
ID in number form
name
name:
"Somnia"
Human-readable name
nativeCurrency
nativeCurrency:
object
Currency used by chain
nativeCurrency.name
readonlyname:"Somnia"="Somnia"
nativeCurrency.symbol
readonlysymbol:"SOMI"="SOMI"
nativeCurrency.decimals
readonlydecimals:18=18
rpcUrls
rpcUrls:
object
Collection of RPC endpoints
rpcUrls.default
readonlydefault:object
rpcUrls.default.http
readonlyhttp: readonly ["https://api.infra.mainnet.somnia.network"]
rpcUrls.default.webSocket
readonlywebSocket: readonly ["wss://api.infra.mainnet.somnia.network/ws"]
testnet
testnet:
false
Flag for test networks