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

Check the current status of a transaction.

### Path Parameters

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

### Example Request

```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);
```

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.