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.walletSecret
): This secret is used specifically to authenticate requests to POST
, and DELETE
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()
.
CdpClientOptions
= {}
Configuration options for the CdpClient.
CdpClient
Property | Modifier | Type | Description | Defined in |
---|---|---|---|---|
endUser | public | CDPEndUserClient | Namespace containing all end user methods. | cdp.ts:36 |
evm | public | EvmClient | Namespace containing all EVM methods. | cdp.ts:27 |
policies | public | PoliciesClient | Namespace containing all Policies methods. | cdp.ts:33 |
solana | public | SolanaClient | Namespace containing all Solana methods. | cdp.ts:30 |
Property | Type | Description | Defined in |
---|---|---|---|
apiKeyId? | string | The API key ID. | cdp.ts:11 |
apiKeySecret? | string | The API key secret. | cdp.ts:13 |
basePath? | string | The host URL to connect to. | cdp.ts:19 |
debugging? | boolean | Whether to enable debugging. | cdp.ts:17 |
walletSecret? | string | The wallet secret. | cdp.ts:15 |