Actions61
- End User Accounts Actions
- EVM Accounts Actions
- EVM Smart Accounts Actions
- EVM Swaps Actions
- EVM Token Balances Actions
- Faucets Actions
- Onchain Data Actions
- Onramp Actions
- Payments Alpha Actions
- Policy Engine Actions
- Solana Accounts Actions
- Solana Token Balances Actions
- SQL API Alpha Actions
- X 402 Facilitator Actions
Solana Accounts → Import Solana Account
AI-generatedSummary
Import a Solana account using its encrypted private key and authentication token.
Inputs
- X-Wallet-Auth (required) — A JWT signed using your Wallet Secret, encoded in base64.
- encryptedPrivateKey (required) — The base64-encoded, encrypted 32-byte private key of the Solana account.
- name — An optional unique name for the account, consisting of alphanumeric characters and hyphens, 2 to 36 characters long.
- X-Idempotency-Key — An optional UUID v4 request header for safely retrying requests.
- requestOptions — A collection of additional request options including batching, SSL issues, proxy settings, and timeout settings.
Output shape
no body — success/failure only
Ensure unique account names across all EVM accounts in the developer's CDP Project.
Examples
Example 1: Importing a new account
Provide the encrypted private key and the wallet auth token.
Example 2: Retrying the request
Use the same idempotency key for duplicate requests.