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

# thorchain.defi_loan_repayment_events

> THORChain lending — loan repayment events.

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

The `thorchain.defi_loan_repayment_events` table event data for loan repayment on THORChain. This table is partitioned by day.

## Column Descriptions

| **Column**                | **Type**  | **Description**                         |
| ------------------------- | --------- | --------------------------------------- |
| **owner**                 | varchar   | Owner                                   |
| **collateral\_asset**     | varchar   | Collateral Asset                        |
| **event\_id**             | bigint    | Event identifier                        |
| **block\_timestamp**      | timestamp | Timestamp of when the block was created |
| **collateral\_withdrawn** | varchar   | Collateral Withdrawn                    |
| **debt\_repaid**          | varchar   | Identifier                              |
| **tx\_id**                | bigint    | Transaction ID                          |
| **block\_time**           | timestamp | Timestamp of when the block was created |
| **block\_month**          | varchar   | Block Month                             |
| **\_inserted\_timestamp** | timestamp | Timestamp of the record                 |
| **dim\_block\_id**        | bigint    | Reference to the block dimension table  |
| **inserted\_timestamp**   | timestamp | Time when the record was inserted       |
| **modified\_timestamp**   | timestamp | Time when the record was last modified  |

## Table Sample

<TableSample tableSchema="thorchain" tableName="defi_loan_repayment_events" />
