Configuration
Environments
import { GrvtEnv } from "@wezzcoetzee/grvt";Environment
Value
Chain ID
Description
// Use testnet for development
const client = new GrvtRawClient({
env: GrvtEnv.TESTNET,
});
// Use production for live trading
const client = new GrvtRawClient({
env: GrvtEnv.PROD,
});Chain IDs
Environment Configuration
getEnvConfig
getEndpointDomains
getWsEndpoint
Endpoint Types
Type
Value
Description
API Endpoints
Endpoint Constants
getEndpoint
getAllEndpoints
WebSocket Streams
Stream to Endpoint Mapping
Available Streams
Stream
Endpoint
Description
Custom Endpoints
Type Exports
Type
Description
Last updated