Skip to content

NetworkConfig

A public network: its indexer (Preprod: Blockfrost), node RPC and token types.

networkId: string


indexerHttpUrl: string


indexerWsUrl: string


nodeUrl: string

Node RPC, for submission (http(s); a ws(s) URL is taken as the same host over HTTP).


tokens: TokenInfo[]

Tokens beside NIGHT (on Preprod the sit-token contract's tSIT and tsSIT), with their kinds.


optional addressHrp?: string

Bech32m prefix of unshielded addresses: mn_addr_<network>, plain mn_addr on mainnet.


optional explorerUrl?: string


optional skipHistory?: boolean

Start a wallet without saved state at the head even when its address has history. Its older coins and DUST then stay unseen: for a wallet known to hold nothing.


optional startHeight?: number

Start a wallet without saved state from the trees at this block instead of the head, and follow from the next: for a wallet that was sent coins before it first ran.