Coinbase Server Wallet icon

Coinbase Server Wallet

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

Actions61

Solana Accounts → Sign Solana Message

AI-generated

Summary

Sign a message using a Solana account's private key.

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 base58 encoded address of the Solana account.
  • message (required) — The arbitrary message to sign.
  • requestOptions — Additional options for the request, including batching configuration and SSL options.

Output shape

The signed message.

Returns the signed message for the provided input message. Check the requestOptions for batching and timeout settings.

Examples

Example 1: Sign a basic message with a Solana account

Include the JWT for authentication, the Solana account address, and the message to be signed.

Example 2: Resend a request safely

Use an X-Idempotency-Key to ensure that the same request can be retried without additional side effects.

Discussion