> ## 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.

# Get Transaction

> GET /v1/transactions/:id — Check transaction status

<Note>
  **Endpoint:** `GET https://api.rebelfi.io/v1/transactions/:id`
</Note>

Check the current status of a transaction.

### Path Parameters

| Parameter | Type     | Required | Description    |
| --------- | -------- | -------- | -------------- |
| `id`      | `number` | Yes      | Transaction ID |

### Example Request

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET "https://api.rebelfi.io/v1/transactions/456" \
    -H "x-api-key: your_api_key"
  ```

  ```typescript SDK theme={null}
  const tx = await client.transactions.get(456);
  ```
</CodeGroup>

### Example Response (Confirmed)

```json theme={null}
{
  "id": 456,
  "operationId": 123,
  "status": "confirmed",
  "txHash": "5UfD...xyz",
  "confirmations": 32,
  "blockNumber": 245678901
}
```

### Response Fields

| Field           | Type      | Description                                     |
| --------------- | --------- | ----------------------------------------------- |
| `id`            | `number`  | Transaction identifier                          |
| `operationId`   | `number`  | Associated operation ID                         |
| `status`        | `string`  | `unsigned`, `pending`, `confirmed`, or `failed` |
| `txHash`        | `string?` | On-chain transaction hash                       |
| `confirmations` | `number?` | Block confirmations                             |
| `blockNumber`   | `number?` | Block number                                    |
| `error`         | `string?` | Error message if failed                         |

### Errors

| Code                    | Description                  |
| ----------------------- | ---------------------------- |
| `TRANSACTION_NOT_FOUND` | Transaction ID doesn't exist |
