Skip to main content
createReadOnly() is the no-signing, no-submission mode.
  • no private key
  • no signer
  • no transaction building
  • all read methods available

When to use it

  • price widgets
  • charts and dashboards
  • analytics tools
  • account views that display positions, orders, fills, or candles

Example

For low-latency account snapshots, pass user and an Alchemy key:
Write methods throw INVALID_CONFIG in this mode.

Parameters

All fields are optional. Read-only clients do not accept slippageBps or builder. See Client Configuration for the full reference.