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

# cNIGHT Registrations

> Midnight cNIGHT registration data

export const TableSample = ({tableName, tableSchema}) => <>
    <div className="hidden dark:block">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}&darkMode=true`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
    <div className="dark:hidden">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
  </>;

# Table Description

This table contains cNIGHT registrations linking Cardano addresses to Midnight DUST addresses for cross-chain NIGHT / DUST flows.

## Column Descriptions

| Column Name             | Data Type | Description                                         |
| ----------------------- | --------- | --------------------------------------------------- |
| **id**                  | bigint    | Internal registration identifier.                   |
| **cardano\_address**    | varchar   | Cardano address associated with the registration.   |
| **dust\_address**       | varchar   | Midnight DUST address linked to the registration.   |
| **valid**               | boolean   | Whether the registration is currently valid.        |
| **registered\_at**      | bigint    | Registration time (network time representation).    |
| **removed\_at**         | bigint    | Removal time, if the registration was removed.      |
| **block\_id**           | bigint    | Block id associated with the registration update.   |
| **utxo\_tx\_hash**      | varchar   | Cardano UTXO transaction hash for the registration. |
| **utxo\_output\_index** | bigint    | Cardano UTXO output index for the registration.     |
| **\_updated\_at**       | timestamp | Timestamp when this record was last updated.        |
| **\_ingested\_at**      | timestamp | Timestamp when this record was ingested into Dune.  |

## Table Sample

<TableSample tableSchema="midnight" tableName="cnight_registrations" />
