Classes
CdpClient
Defined in: cdp.ts:25 The main client for interacting with the CDP API.Constructors
Constructor
- CDP Secret API Key (
apiKeyId
&apiKeySecret
): These are used to authenticate requests to the entire suite of APIs offered on Coinbase Developer Platform. Read more about CDP API keys. - Wallet Secret (
walletSecret
): This secret is used specifically to authenticate requests toPOST
, andDELETE
endpoints in the EVM and Solana Account APIs.
evm
or solana
.
As an example, to create a new EVM account, use cdp.evm.createAccount()
.
To create a new Solana account, use cdp.solana.createAccount()
.
Parameters
options?
CdpClientOptions
= {}
Configuration options for the CdpClient.
Returns
CdpClient