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

# Submit Signed

> POST /v1/transactions/submit-signed — Submit a signed transaction for RebelFi to broadcast

<Note>
  **Endpoint:** `POST https://api.rebelfi.io/v1/transactions/submit-signed`
</Note>

Submit a signed transaction for RebelFi to broadcast. Use this when you want RebelFi to handle broadcasting.

### Request Body

| Field               | Type     | Required | Description                                                                                                                                                                                                                      |
| ------------------- | -------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `operationId`       | `number` | Yes      | Operation ID from supply/unwind                                                                                                                                                                                                  |
| `signedTransaction` | `string` | Yes      | Signed transaction (base64 for Solana, hex for EVM)                                                                                                                                                                              |
| `transactionId`     | `number` | No       | Target transaction ID within the operation. **Required for EVM multi-transaction operations** (approve + supply). Optional for Solana single-transaction operations. If omitted, associates with the first unsigned transaction. |
| `txHash`            | `string` | No       | Transaction hash (computed from signedTransaction if not provided)                                                                                                                                                               |

### Example Request

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST "https://api.rebelfi.io/v1/transactions/submit-signed" \
    -H "x-api-key: your_api_key" \
    -H "Content-Type: application/json" \
    -d '{
      "operationId": 123,
      "signedTransaction": "AQAAAA...base64..."
    }'
  ```

  ```typescript SDK theme={null}
  const result = await client.transactions.submitSigned({
    operationId: 123,
    signedTransaction: 'AQAAAA...base64...'
  });
  ```
</CodeGroup>

### Example Response

```json theme={null}
{
  "id": 456,
  "operationId": 123,
  "status": "pending",
  "txHash": "5UfD...xyz"
}
```

### Errors

| Code                          | Description                                              |
| ----------------------------- | -------------------------------------------------------- |
| `OPERATION_NOT_FOUND`         | Operation ID doesn't exist                               |
| `OPERATION_EXPIRED`           | Unsigned transaction expired                             |
| `OPERATION_ALREADY_SUBMITTED` | Transaction already submitted                            |
| `SIMULATION_FAILED`           | Invalid signature or transaction                         |
| `INVALID_OPERATION_STATUS`    | Operation is in a status that doesn't accept submissions |
