Coinbase Server Wallet icon

Coinbase Server Wallet

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

Actions61

EVM Accounts → Export Evm Account

AI-generated

Summary

Export the EVM account's private key securely using encryption.

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.
  • address (required) — The 0x-prefixed address of the EVM account.
  • exportEncryptionKey (required) — The base64-encoded, public part of the RSA key used to encrypt the account private key.
  • requestOptions — Various request options including batching, timeout, and proxy settings.

Output shape

the encrypted private key of the EVM account along with any response details like status or errors.

Ensure to provide the correct address and encryption key to retrieve the expected response.

Examples

Example 1: Exporting the private key for a specific EVM account, while ensuring the response is idempotent.

Provide the EVM address, JWT for authentication, and the RSA Encryption Key in base64 format.

Discussion