Coinbase Server Wallet icon

Coinbase Server Wallet

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

Actions61

Solana Accounts → Create Solana Account

AI-generated

Summary

Create a new Solana account using the Coinbase Server Wallet API.

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 — An optional name for the account, between 2 and 36 characters.
  • accountPolicy — The ID of the account-level policy to apply to the account.
  • requestOptions — Options for configuring the request.

Output shape

a JSON object containing the details of the created Solana account

If successful, the response will include the account details. Duplicate requests with the same idempotency key will return identical responses.

Examples

Example 1: When creating a new Solana account, a user needs to provide their JWT for authentication and an optional unique name for the account.

Set 'X-Wallet-Auth' to your JWT, 'name' to the desired account name, and include 'X-Idempotency-Key' if needed.

Discussion