Authorizations
A JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Generate Bearer Token section of our Authentication docs for information on how to generate your Bearer Token.
Headers
A JWT signed using your Wallet Secret, encoded in base64. Refer to the Generate Wallet Token section of our Authentication docs for more details on how to generate your Wallet Token.
An optional UUID v4 request header for making requests safely retryable. When included, duplicate requests with the same key will return identical responses. Refer to our Idempotency docs for more information on using idempotency keys.
36
Body
The base64-encoded, encrypted 32-byte private key of the Solana account. The private key must be encrypted using the CDP SDK's encryption scheme.
"U2FsdGVkX1+vupppZksvRf5X5YgHq4+da+Q4qf51+Q4="
An optional name for the account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names must be unique across all EVM accounts in the developer's CDP Project.
"my-solana-wallet"
Response
Successfully imported Solana account.
The base58 encoded Solana address.
"HpabPRRCFbBKSuJr5PdkVvQc85FyxyTWkFM2obBRSvHT"
An optional name for the account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names are guaranteed to be unique across all Solana accounts in the developer's CDP Project.
"my-account"
The list of policy IDs that apply to the account. This will include both the project-level policy and the account-level policy, if one exists.
["123e4567-e89b-12d3-a456-426614174000"]
The ISO 8601 UTC timestamp at which the account was created.
"2025-03-25T12:00:00Z"
The ISO 8601 UTC timestamp at which the account was last updated.
"2025-03-26T12:00:00Z"