API-key SDKs default to Polyester testnet / devnet:
| Setting | Default |
|---|---|
| API URL | https://api-devnet.polyester.ai |
| WebSocket URL | wss://api-devnet.polyester.ai |
Pass api_url / ws_url (Python), APIURL / WSURL (Go), or api_url / ws_url (Rust) on
the client config to override. Scripts using FromEnv still need Config.APIURL / Config.WSURL for URL overrides, those env vars are not loaded.
On-chain Funding helpers use POLYESTER_TESTNET_ENVIRONMENT (Python/Go/Rust chain modules)
for contract addresses, RPC, and account-abstraction endpoints on testnet. See Chain helpers and Funds & Transfers.
Do not hard-code production URLs until your account team confirms the production API host.
Related Topics
Architecture How the API-key SDK layers ConnectRPC, realtime, catalogs, and services. Authentication model Ed25519 API-key request signing for ConnectRPC and private realtime channels. Catalog & precision Spot/Zipper catalogs, decimal strings, and scaled-integer inputs. Requests & idempotency Go call conventions, context cancellation, and idempotency keys for orders and triggers. Limitations & non-features What API-key SDKs intentionally omit, and where to go instead.