Initiates a client for Circle's Developer Controlled Wallets.
The client parameters.
Api Key that is used to authenticate against Circle APIs.
Optional base URL to override the default: https://api.circle.com
.
Additional headers that should be added to each request.
Optional custom storage solution for persisting data. We will fallback to InMemoryStorage if none was provided.
Optional custom user agent request header. We will prepend it to default user agent header if provided.
Your configured entity secret.
1import { initiateDeveloperControlledWalletsClient } from '@circle-fin/developer-controlled-wallets'
2
3const client = initiateDeveloperControlledWalletsClient({
4 apiKey: 'YOUR_KEY',
5 entitySecret: 'YOUR_SECRET',
6 baseUrl: 'https://api.circle.com',
7})
8
9const response = await client.listWallets()
10console.log(response.data?.wallets)