@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / chains / somniaShannon

Variable: somniaShannon

const somniaShannon: object

Defined in: packages/sdk/src/chains/definitions/somniaShannon.ts:13

Somnia testnet — Shannon (chain id 50312), the public testnet and the default target for Somnia Markets development. Native token is STT; blocks land roughly every 100 ms.

https://dream-rpc.somnia.network is a public alias for the same network and is listed as a secondary HTTP/WebSocket endpoint.

Type Declaration

blockExplorers

blockExplorers: object

Collection of block explorers

blockExplorers.default

readonly default: object

blockExplorers.default.name

readonly name: "Somnia Testnet Explorer" = "Somnia Testnet Explorer"

blockExplorers.default.url

readonly url: "https://shannon-explorer.somnia.network" = "https://shannon-explorer.somnia.network"

blockExplorers.default.apiUrl

readonly apiUrl: "https://shannon-explorer.somnia.network/api" = "https://shannon-explorer.somnia.network/api"

blockTime

blockTime: 100

Block time in milliseconds.

contracts

contracts: object

Collection of contracts

contracts.multicall3

readonly multicall3: object

contracts.multicall3.address

readonly address: "0x841b8199E6d3Db3C6f264f6C2bd8848b3cA64223" = "0x841b8199E6d3Db3C6f264f6C2bd8848b3cA64223"

contracts.multicall3.blockCreated

readonly blockCreated: 71314235 = 71314235

id

id: 50312

ID in number form

name

name: "Somnia Testnet"

Human-readable name

nativeCurrency

nativeCurrency: object

Currency used by chain

nativeCurrency.name

readonly name: "STT" = "STT"

nativeCurrency.symbol

readonly symbol: "STT" = "STT"

nativeCurrency.decimals

readonly decimals: 18 = 18

rpcUrls

rpcUrls: object

Collection of RPC endpoints

rpcUrls.default

readonly default: object

rpcUrls.default.http

readonly http: readonly ["https://api.infra.testnet.somnia.network", "https://dream-rpc.somnia.network"]

rpcUrls.default.webSocket

readonly webSocket: readonly ["wss://api.infra.testnet.somnia.network/ws", "wss://dream-rpc.somnia.network/ws"]

testnet

testnet: true

Flag for test networks