LookupClientConfig
@totemsdk/lookup-client / LookupClientConfig
Interface: LookupClientConfig
Properties
hyperswarmTopic?
optionalhyperswarmTopic?:string
Hex-encoded 32-byte Hyperswarm topic key (64 hex chars). Primary P2P transport.
nodeUrl?
optionalnodeUrl?:string
Direct HTTP/WS URL fallback — used when Hyperswarm is unavailable. The client will convert http(s):// to ws(s):// automatically.
reconnectBaseMs?
optionalreconnectBaseMs?:number
Initial reconnect backoff delay in ms. Default: 1_000.
reconnectMaxMs?
optionalreconnectMaxMs?:number
Maximum reconnect backoff delay in ms. Default: 30_000.
timeoutMs?
optionaltimeoutMs?:number
Per-request timeout in milliseconds. Default: 10_000.