The parameters for creating the client
API key for authentication
Optional
baseUrl?: stringBase URL for the API
Optional
chain?: ChainChain configuration, defaults to ETH_SEPOLIA
Entity secret for authentication
Optional
logFile?: string | numberLog destination
Optional
logLevel?: "error" | "fatal" | "warn" | "info" | "debug" | "trace" | "silent"Log level
A configured Circle client instance
Initialize a client with using the default chain
import { createClient } from '@circle-fin/usdckit'
const client = createClient({
apiKey: 'your-api-key',
entitySecret: 'your-entity-secret',
});
Creates a Circle client with the specified parameters.