Coinbase Server Wallet icon

Coinbase Server Wallet

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

Actions61

EVM Accounts → Export Evm Account By Name

AI-generated

Summary

Export the specified EVM account using its name to retrieve its information securely.

Inputs

  • X-Wallet-Auth (required) — A JWT signed using your Wallet Secret, encoded in base64, necessary for authentication when exporting the account.
  • X-Idempotency-Key — An optional UUID v4 that makes requests safely retryable by identifying duplicate requests.
  • name (required) — The name of the EVM account to be exported.
  • exportEncryptionKey (required) — The base64-encoded public part of the RSA key in DER format used to encrypt the account's private key.
  • requestOptions — Optional parameters for the request such as batching settings, timeout, and SSL handling settings.

Output shape

a record containing the exported EVM account information

Ensure that the account name exists; otherwise, an error will be returned. The output will depend on the settings used during the request.

Examples

Example 1: Export an EVM account named 'my-account' with a valid wallet token and encryption key.

Set the 'name' parameter to 'my-account', provide a valid 'X-Wallet-Auth', and an appropriate 'exportEncryptionKey'.

Discussion