# Transactions

`GET /transactions/{transaction}`

**Request**

```http
GET /transactions/01a1f98e-aefb-7a12-8b34-56789abcdef0
```

| Input | Meaning and format |
| --- | --- |
| `transaction` | ID of the ledger entry to look up. Lowercase UUIDv7 or UUIDv8 (RFC 9562). |

**Response: `200 OK`**

```json
{
  "meta": {
    "network": "rehearsal",
    "at": "2026-11-20T15:25:00.123000000Z"
  },
  "data": {
    "public": {
      "transaction": "01a1f98e-aefb-7a12-8b34-56789abcdef0",
      "reference": "00aB",
      "operation": "transfer",
      "from": "01a1f8d3-ea7b-7a12-8b34-56789abcdef0",
      "to": "01a1f8d3-ea7b-7a12-8b34-56789abcdef1",
      "asset": {
        "id": "QUARTZ",
        "units": "0.001"
      },
      "created_at": "2026-11-20T15:24:00.123000000Z"
    }
  }
}
```

| Output | Meaning and format |
| --- | --- |
| `transaction` | ID of this ledger entry. Lowercase UUIDv7 or UUIDv8 (RFC 9562). Each public leg of a trade or mint has its own ID. |
| `reference` | Always present. For a transfer, returns the payer’s exact value and JSON type, or `null` if the transfer has no reference. Mining, trade, and mint entries return `null`. |
| `operation` | `mine`, `trade`, `mint`, or `transfer`. |
| `operation_id` | Opaque string shared by both public entries of a trade or mint. Omitted for other operations. Scope comparisons to the selected network. |
| `from` | Debited wallet address, when present. Lowercase UUIDv7 (RFC 9562). |
| `to` | Credited wallet address, when present. Lowercase UUIDv7 (RFC 9562). |
| `asset.id` | Stored asset ID, up to 128 UTF-8 bytes. Current forms are `QUARTZ`, `fiat-USD`, `US-{symbol}` and `crypto-{symbol}`. Older records keep their original IDs. |
| `asset.units` | Units moved. Positive plain decimal string with up to 18 decimal places and no trailing fractional zeros. |
| `created_at` | Entry recording time. RFC 3339, UTC (`Z`), exactly 9 fractional digits. |
| `network` | Selected network. String. |
| `at` | Response time. RFC 3339, UTC (`Z`), exactly 9 fractional digits. |
