Application namespace used as the primary topic (topic1).
All statements published by this client are tagged with blake2b(appName).
Subscribers filter on this topic to receive only relevant statements.
OptionaldefaultDefault time-to-live for published statements in seconds.
Statements automatically expire after this duration. Can be overridden per-publish via PublishOptions.ttlSeconds.
OptionalenableWhether to enable the polling fallback.
When true (default), the client polls for statements periodically in addition to the real-time subscription. Only active when the transport supports queries (RPC mode, not host mode).
OptionalendpointFallback WebSocket endpoint for the statement store node.
The client always tries the Host API first (inside a container).
This endpoint is only used as a fallback when the host is unavailable.
Defaults to the paseo bulletin RPC from @polkadot-apps/host.
OptionalpollPolling interval in milliseconds for the fallback poller.
The client uses both subscriptions (real-time) and polling (fallback) to ensure no statements are missed. Set to 0 to disable polling. Polling is only active when the transport supports queries (RPC mode).
OptionaltransportProvide a custom transport instead of auto-detection.
When set, the client skips host/RPC auto-detection and uses this transport directly. Useful for testing or advanced BYOD setups.
Configuration for StatementStoreClient.
Inside a container, the client automatically uses the Host API's native statement store protocol (no endpoint needed). The
endpointis a fallback for outside-container usage (development, testing).