Runtime Configuration Updates
Update API keys, RPC URLs, and settings without recreating the SwapDK client. Perfect for production environments and dynamic configuration management.
import { SKConfig } from '@swapdk/sdk';
SKConfig.setRpcUrl(Chain.Ethereum, "https://rpc.example.com");SKConfig.setApiKey("swapKit", "new-api-key");