Try the Host API via @polkadot-apps/host — uses the container's native
statement store protocol (binary, not JSON-RPC). This is the production path.
If the host is unavailable (not inside a container, product-sdk not installed),
fall back to a direct WebSocket connection using @polkadot-api/substrate-client
with @novasamatech/sdk-statement.
Create a statement store transport.
Strategy (Host API first):
@polkadot-apps/host— uses the container's native statement store protocol (binary, not JSON-RPC). This is the production path.@polkadot-api/substrate-clientwith@novasamatech/sdk-statement.