---
title: "Send transaction"
method: POST
path: "/solana/send-transaction"
tags: ["Solana"]
---

# Send transaction

`POST /solana/send-transaction`

## Request

- Base URL: `https://public-api-v2.bags.fm/api/v1`
- URL: `https://public-api-v2.bags.fm/api/v1/solana/send-transaction`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/bags/apis/bags-public-api-v2/docs/solana/send-transaction/post.ts> (a function with typed inputs; its response is checked against the schema)

Submit a signed Bags Solana transaction to the network for execution.

## Request body

- object
  - `transaction` string, required: Base58 encoded serialized Solana transaction

## Response `200`

Successfully submitted transaction

- object
  - `success` boolean, required
  - `response` string: Transaction signature

## Other responses

- `400`: Bad request - Invalid transaction format
- `401`: Unauthorized - Invalid or missing API key
- `500`: Internal server error

---

[API](https://skmtc.dev/bags/apis/bags-public-api-v2.md) - [All operations](https://skmtc.dev/bags/apis/bags-public-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/bags/apis/bags-public-api-v2/revisions/4a14b82cd39d?raw)
