Skip to main content

LookupNodeConfig

@totemsdk/lookup-node


@totemsdk/lookup-node / LookupNodeConfig

Interface: LookupNodeConfig

Properties​

agentRegistry?​

optional agentRegistry?: AgentRegistryConfig


appRegistry?​

optional appRegistry?: AppRegistryConfig


challengeTtlMs?​

optional challengeTtlMs?: number

Auth challenge TTL in ms. Default: 30_000


lease?​

optional lease?: LeaseConfig


megammr?​

optional megammr?: MegaMMRConfig

MegaMMR / indexer mode — enables chain-wide GET_COINS without address filter.


nodeId?​

optional nodeId?: string

Unique node identifier (hex string). Generated randomly if omitted.


pollIntervalMs?​

optional pollIntervalMs?: number

Block polling interval in ms. Default: 5_000


provider​

provider: ChainStateProvider

Chain state source — MinimaRpcProvider or any ChainStateProvider


rateLimitRpm?​

optional rateLimitRpm?: number

Max authenticated requests per minute per client. Default: 120


relay?​

optional relay?: RelayConfig


sqlite?​

optional sqlite?: SqliteConfig

SQLite persistence. Defaults to ':memory:' (always SQLite, never plain Maps).


trustIndex?​

optional trustIndex?: TrustIndexConfig