Welcome to the Coinbase CDP SDK FAQ section. Below are some of the most common questions developers have asked, along with detailed answers from our engineering team. This resource is designed to help you navigate and utilize CDP SDK effectively in your projects.
With natively-supported assets, you can directly reference the asset name like ‘usdc’ when performing operations like transfers. For assets that aren’t natively supported, you need to reference their contract addresses as shown in our docs.
Where can I find information about the CDP data API rate limit?
For all CDP APIs, we have rate limits at IP level and CDP project level. These limits vary based on the API, but we are lenient and have limits sufficient for most use cases. Please reach out on our Discord through the #cdp-sdk channel if hitting the limits.
Is there a CDP SDK available for Rust, PHP, Java, etc…?
The CDP SDK is available in TypeScript, and Python. Feel free to submit requests/feedback on our Discord if you are interested in support for additional languages.
No, Wallets created by the SDK are not currently interoperable across networks. If you want to export the seed to recover funds using a Wallet Ext such as CB Wallet or Metamask, you can export the private key.
How do I import my key into Metamask or Coinbase Wallet?
In order to export the private key for your address that can be used from Metamask, use the export method in the address object. We support this in our TypeScript and Python SDKs.
When checking the balance of my wallet, only some of the tokens show up. Is there a predefined list of tokens for which the balance is shown?
ListBalances only shows a specific list of assets as listed here. For other assets, you can list the balance by passing the contract address as shown here.
When creating a wallet with the CDP, we can export the seed. When using Viem to create a wallet with the same seed, the address is different. How might I get Viem to create the wallet with the same address as Wallet API?
Wallets created with the Wallet API are HD wallets. Private keys for your address can be derived as shown here
Can I use a wallet created through another provider or extension? Or Import a previously created seed phrase?
Yes, you can easily import wallets from other tools like a BIP-39 mnemonic seed phrase from your existing wallet (ie, from MetaMask, Coinbase Wallet app, etc.) into the CDP ecosystem.