Coinbase Server Wallet icon

Coinbase Server Wallet

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

Actions61

Solana Accounts → Export Solana Account By Name

AI-generated

Summary

Export the specified Solana account's details using its name.

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.
  • name (required) — The name of the Solana account to export.
  • exportEncryptionKey (required) — The base64-encoded, public part of the RSA key in DER format used to encrypt the account private key.
  • requestOptions — Collection of optional request settings.

Output shape

a single record containing the exported account details

Ensure the X-Wallet-Auth and exportEncryptionKey are correctly set to retrieve the account details.

Examples

Example 1: Exporting a Solana account named 'my-account' with a valid JWT and export encryption key.

Set X-Wallet-Auth with base64 JWT, name to 'my-account', and exportEncryptionKey to the appropriate RSA public key.

Discussion