Skip to main content

Table Description

Records of liquidity provision and withdrawal actions on THORChain. This table tracks when users add or remove liquidity from Continuous Liquidity Pools (CLPs). This table is partitioned by day.

Column Descriptions

ColumnTypeDescription
block_idbigintIdentifier
tx_idbigintTransaction ID
lp_actionvarcharType of liquidity action (add or withdraw)
pool_namevarcharName of the liquidity pool
from_addressvarcharSource address
to_addressvarcharDestination address
rune_amountdecimal(38,0)Amount in RUNE
rune_amount_usddecimal(20,6)USD value of RUNE amount
asset_amountdecimal(38,0)Amount of asset
asset_amount_usddecimal(20,6)USD value of asset amount
stake_unitsvarcharPool units (LP tokens) received or burned
asset_tx_idbigintIdentifier
asset_addressvarcharAddress
asset_blockchainvarcharAsset Blockchain
il_protectionvarcharIl Protection
il_protection_usddecimal(20,6)Il Protection Usd
unstake_asymmetryvarcharUnstake Asymmetry
unstake_basis_pointsintUnstake Basis Points
_unique_keyvarcharUnique Key
_inserted_timestamptimestampTimestamp of the record
fact_liquidity_actions_idbigintSurrogate key for the liquidity action record
daytimestampDate of the record
block_timestamptimestampTimestamp of when the block was created
dim_block_idbigintReference to the block dimension table
inserted_timestamptimestampTime when the record was inserted
modified_timestamptimestampTime when the record was last modified

Table Sample