Coinbase Server Wallet icon

Coinbase Server Wallet

Interact with Coinbase Server Wallet API v2 (EVM & Solana)

Actions61

EVM Accounts → Import Evm Account

AI-generated

Summary

Import EVM accounts into the Coinbase Server Wallet by providing an encrypted private key and an authentication token.

Inputs

  • X-Wallet-Auth (required) — A JWT signed using your Wallet Secret, encoded in base64.
  • X-Idempotency-Key — An optional UUID v4 request header for making requests safely retryable.
  • encryptedPrivateKey (required) — The base64-encoded, encrypted private key of the EVM account.
  • name — An optional name for the account, unique across all EVM accounts.
  • accountPolicy — The ID of the account-level policy to apply to the account.
  • requestOptions — Advanced request options including batching, timeout, and proxy settings.

Output shape

no body — success/failure only

Ensure that all required fields are provided for the request to succeed.

Examples

Example 1: Importing a new EVM account successfully with a valid encrypted private key and wallet auth token.

Provide the necessary encrypted private key and wallet authentication JWT, optionally include account name and policy.

Discussion