---
title: "Sign transaction"
method: POST
path: "/v2/solana/accounts/{address}/sign/transaction"
tags: ["Solana Accounts"]
---

# Sign transaction

`POST /v2/solana/accounts/{address}/sign/transaction`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/solana/accounts/{address}/sign/transaction`
- Auth: HTTP bearer

Signs a transaction with the given Solana account.
The unsigned transaction should be serialized into a byte array and then encoded as base64.

**Transaction types**

The following transaction types are supported:
* [Legacy transactions](https://solana-labs.github.io/solana-web3.js/classes/Transaction.html)
* [Versioned transactions](https://solana-labs.github.io/solana-web3.js/classes/VersionedTransaction.html)

The developer is responsible for ensuring that the unsigned transaction is valid, as the API will not validate the transaction.

## Path parameters

- `address` string, required

## Headers

- `X-Wallet-Auth` string, required
- `X-Idempotency-Key` string

## Request body

- object
  - `network` 'solana' | 'solana-devnet': The Solana network the transaction targets. Required when using versioned transactions that reference address lookup tables, since resolving those tables requires querying a specific network. Optional otherwise.
  - `transaction` string, required: The base64 encoded transaction to sign.

## Response `200`

Successfully signed transaction.

- object
  - `signedTransaction` string, required: The base64 encoded signed transaction.

## Other responses

- `400`: Invalid request.
- `401`: Unauthorized.
- `402`: A payment method is required to complete this operation.
- `403`: Access to resource forbidden.
- `404`: Solana account not found.
- `409`: The resource already exists.
- `422`: Idempotency key conflict.
- `500`: Internal server error.
- `502`: Bad gateway.
- `503`: Service unavailable.

## Changes

- **2026-12-01** `06cb41a4fb57`: 10 warning
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `400`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `401`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `402`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `403`
  - …6 more
- **2026-10-16** `ff3c1fdef902`: 10 warning
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `400`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `401`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `402`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `403`
  - …6 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/solana/accounts/:address/sign/transaction/post.md)

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
