Skip to main content
The solana.lending.deposits table contains Solana lending deposit events. This table tracks all deposit activities across supported lending protocols on Solana. Use this table to analyze deposit patterns, track liquidity provision, and understand capital flows into lending protocols.

Table Columns

Unique Key: unique_id
Column NameData TypeDescription
projectVARCHARName of the lending project.
protocolVARCHARUnderlying protocol that the lending protocol is utilizing.
actionVARCHARType of lending action.
lending_idVARCHARAddress of the lending market or bank.
lending_reserve_idVARCHARAddress of the specific lending reserve.
from_addressVARCHARAddress of the token account from which tokens were transferred.
token_acc_fromVARCHARToken account address from which tokens were transferred.
to_addressVARCHARAddress of the token account to which tokens were transferred.
token_acc_toVARCHARToken account address to which tokens were transferred.
mintVARCHARAddress of the token being deposited.
nameVARCHARName of the token being deposited.
symbolVARCHARSymbol of the token being deposited.
decimalsNUMBERNumber of decimals of the token being deposited.
raw_amountVARCHARRaw amount of tokens deposited.
amountFLOATNormalized amount of tokens deposited.
usd_amountFLOATUSD value of the tokens deposited at the time of the transaction.
signerVARCHARAddress of the account that signed the transaction.
block_slotNUMBERSolana block slot number.
block_heightNUMBERBlock height of the transaction.
block_timestampTIMESTAMP_NTZ(9)Timestamp of the block.
block_hashVARCHARHash of the block.
txn_idVARCHARTransaction ID.
txn_indexNUMBERIndex of the transaction in the block.
instruction_indexNUMBERIndex of the instruction in the transaction.
inner_instruction_indexNUMBERIndex of the inner instruction.
pseudo_instruction_orderNUMBEROrder of the instruction for sorting purposes.
liquidity_vaultVARCHARAddress of the liquidity vault for the lending market.
unique_idVARCHARUnique identifier for the event.
_created_atTIMESTAMP_NTZ(9)Timestamp of when the event was created.
_updated_atTIMESTAMP_NTZ(9)Timestamp of when the event was last updated.

Sample Query

  • Recent Deposits
  • Daily Deposit Volume
Get recent deposit events with essential details:
select
  project,
  protocol,
  symbol,
  amount,
  usd_amount,
  from_address,
  block_timestamp
from solana.lending.deposits
where block_timestamp >= current_timestamp - interval '7 days'
order by block_timestamp desc
limit 100