Coinbase Server Wallet icon

Coinbase Server Wallet

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

Actions61

Solana Accounts → Update Solana Account

AI-generated

Summary

Update a Solana account with specified parameters.

Inputs

  • X-Idempotency-Key — An optional UUID v4 request header for making requests safely retryable. Duplicate requests with the same key return identical responses.
  • address (required) — The base58 encoded address of the Solana account.
  • name — An optional unique name for the account, between 2 and 36 characters long.
  • accountPolicy — The ID of the account-level policy to apply to the account, or an empty string to unset the attached policy.
  • requestOptions — A collection of additional request options such as batching, SSL validation, proxy, and timeout settings.

Output shape

no body — success/failure only

Returns no data body upon successful execution.

Examples

Example 1: Update a Solana account's name and policy.

Set the address, new name, and account policy ID in the request.

Example 2: Use idempotency key for safe retries on account update.

Include a UUID v4 in 'X-Idempotency-Key' while updating.

Discussion