> ## Documentation Index
> Fetch the complete documentation index at: https://docs.snek.fun/llms.txt
> Use this file to discover all available pages before exploring further.

# Submit pre-signed transaction

> Submit a fully-signed transaction CBOR

Submits a fully-signed Cardano transaction CBOR to the network. Use this endpoint when the transaction is already fully signed and ready for relay submission.

<Note>
  Use [`/sign`](/api-reference/transaction-builder/sign) to attach a witness without submission, or [`/sign-and-submit`](/api-reference/transaction-builder/sign-and-submit) to attach a witness and submit in one call.
</Note>

**Auth:** Public

## Request body

<ParamField body="cbor" type="string" required>
  Hex-encoded fully-signed transaction CBOR.
</ParamField>

## Response

<ResponseField name="txHash" type="string">
  Hash of the submitted transaction.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url https://builder.snek.fun/submit \
    --header 'Content-Type: application/json' \
    --data '{ "cbor": "84a500..." }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  { "txHash": "..." }
  ```
</ResponseExample>

## Error response

<ResponseField name="cause" type="string">
  Machine-readable error code.
</ResponseField>

<ResponseField name="message" type="string">
  Human-readable error message.
</ResponseField>

Possible errors:

* `400 INVALID_PARAMS` — the request body is missing `cbor` or `cbor` is not a string.
* `500 SERVER_ERROR` — the CBOR could not be processed or relay submission failed.

<ResponseExample>
  ```json 400 theme={null}
  {
    "cause": "INVALID_PARAMS",
    "message": "Invalid input"
  }
  ```
</ResponseExample>
