---
title: "Send transaction via end user Solana account"
method: POST
path: "/v2/embedded-wallet-api/end-users/{userId}/solana/send/transaction"
tags: ["End User Accounts"]
---

# Send transaction via end user Solana account

`POST /v2/embedded-wallet-api/end-users/{userId}/solana/send/transaction`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/embedded-wallet-api/end-users/{userId}/solana/send/transaction`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Signs a transaction with the given end user Solana account and sends it to the indicated supported network.
The API handles recent blockhash management and fee estimation, leaving the developer to provide only the minimal set of fields necessary to send the transaction.
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.com/developers/guides/advanced/versions#current-transaction-versions)
* [Versioned transactions](https://solana.com/developers/guides/advanced/versions)
**Instruction Batching**
To batch multiple operations, include multiple instructions within a single transaction. All instructions within a transaction are executed atomically - if any instruction fails, the entire transaction fails and is rolled back.
**Network Support**
The following Solana networks are supported:
* `solana` - Solana Mainnet
* `solana-devnet` - Solana Devnet
The developer is responsible for ensuring that the unsigned transaction is valid, as the API will not validate the transaction.

## Path parameters

- `userId` string, required

## Query parameters

- `projectID` string

## Headers

- `X-Wallet-Auth` string
- `X-Idempotency-Key` string
- `X-Developer-Auth` string

## Request body

- object
  - `address` string, required: The base58 encoded address of the Solana account belonging to the end user.
  - `network` 'solana' | 'solana-devnet', required: The Solana network to send the transaction to.
  - `walletSecretId` string: Required when not using delegated signing. The ID of the Temporary Wallet Secret that was used to sign the X-Wallet-Auth Header.
  - `transaction` string, required: The base64 encoded transaction to sign and send. This transaction can contain multiple instructions for native Solana batching.
  - `useCdpSponsor` boolean: Whether transaction fees should be sponsored by CDP. When true, CDP sponsors the transaction fees on behalf of the end user. When false, the end user is responsible for paying the transaction fees.

## Response `200`

Successfully signed and sent transaction.

- object
  - `transactionSignature` string, required: The base58 encoded transaction signature.

## Other responses

- `400`: Invalid request.
- `401`: Unauthorized.
- `402`: A payment method is required to complete this operation.
- `403`: The request was rejected due to a delegation issue. The errorType field indicates the specific reason.
- `404`: Not found.
- `422`: Idempotency key conflict.
- `500`: Internal server error.
- `502`: Bad gateway.
- `503`: Service unavailable.

## Changes

- **2026-12-01** `06cb41a4fb57`: 9 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`
  - …5 more
- **2026-10-16** `ff3c1fdef902`: 9 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`
  - …5 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/embedded-wallet-api/end-users/:userId/solana/send/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)
