---
title: "Signs a transaction previously created using `createAction`"
method: POST
path: "/signAction"
tags: ["HTTPWalletJSON"]
---

# Signs a transaction previously created using `createAction`

`POST /signAction`

## Request body

- SignActionArgs
  - `spends` object
  - `reference` string
  - `options` SignActionOptions
    - `acceptDelayedBroadcast` boolean
    - `returnTXIDOnly` boolean
    - `noSend` boolean
    - `sendWith` string[]

## Response `200`

The signed transaction result

- SignActionResult
  - `txid` string
  - `tx` number[]
  - `sendWithResults` SendWithResult[]
    - `txid` string
    - `status` 'unproven' | 'sending' | 'failed'

## Other responses

- `400` — Invalid input
- `500` — Internal server error

---

[API](https://skmtc.dev/bsv-blockchain/apis/wallet-json-api.md) · [All operations](https://skmtc.dev/bsv-blockchain/apis/wallet-json-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bsv-blockchain/wallet-json-api/revisions/4b04a6edb128/schema)
