Coinbase Server Wallet icon

Coinbase Server Wallet

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

Actions61

Solana Accounts → Send Solana Transaction

AI-generated

Summary

Send a Solana transaction through the Coinbase Server Wallet API using a JWT for authentication and optional idempotency 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.
  • network (required) — The Solana network to send the transaction to (options: 'solana' or 'solana-devnet').
  • transaction (required) — The base64 encoded transaction to sign and send, which can contain multiple instructions.
  • requestOptions — Additional request configuration options including batching, SSL verification, proxy, and timeout settings.

Output shape

the response from the API indicating the transaction status or details

The operation will return success or failure based on the transaction submission; additional response headers may also provide insight into the transaction processing.

Examples

Example 1: A workflow that sends a previously constructed Solana transaction to the devnet for testing purposes.

Set the X-Wallet-Auth with a valid JWT, choose 'solana-devnet' for network, provide the base64 encoded transaction, and optionally include an idempotency key to ensure safe retries.

Discussion