Skip to main content
One row per repayment, including the debt leg of a liquidation. amount is the tokens returned, and Liquidations shows that same leg from the collateral side.

Columns

ColumnTypeDescription
block_timestampTIMESTAMPTime of the block containing the repayment. Partition column.
block_numberINT64Number of the block containing the repayment.
transaction_hashSTRINGHash of the transaction that emitted the repayment event.
log_indexINT64Position of the repayment event in the block.
unique_idINT64Row key: fingerprint of chain_id, block_number, transaction_hash, log_index.
event_typeSTRINGConstant β€˜repayments’; stacking key across the lending facts.
project_idSTRINGProtocol operating the market, such as aave.
app_idSTRINGDeployment of the protocol the market belongs to.
chain_idSTRINGChain the repayment happened on.
lending_market_idSTRINGMarket the repayment entered; joins dimensions.lending_markets.
lending_market_reserve_idSTRINGReserve within the market; joins dimensions.lending_market_reserves.
lending_market_contract_addressSTRINGContract the market lives on; not a key.
receipt_token_addressSTRINGDebt token whose balance moved (the variable debt token for Aave); null where debt is not tokenised.
token_idSTRINGToken repaid: {token_address}-{chain_id}.
token_addressSTRINGContract address of the token repaid.
token_symbolSTRINGSymbol of the token repaid.
token_decimalsINT64Decimals of the token repaid.
repayer_addressSTRINGAccount that paid (the liquidator on a liquidation).
user_addressSTRINGAccount whose debt fell; the position key across the lending facts.
shares_rawBIGNUMERICMovement in the protocol’s debt unit, exact integer; summing per position replays the borrow-share balance.
sharesBIGNUMERICshares_raw decimal-corrected.
amount_rawBIGNUMERICEvent-time amount in the token’s stored unit, exact integer.
amountBIGNUMERICamount_raw decimal-corrected into whole tokens. */}

Sample queries

This table is large and split by day. Bound block_timestamp and filter chain_id on every query, or you read the whole table and the whole table is billed to you.
amount is whole tokens and amount_raw the integer the contract emitted. user_address is whose debt fell.