Skip to main content
The solana.lending.withdrawals table contains Solana lending withdrawal events. This table tracks all withdrawal activities across supported lending protocols on Solana. Use this table to analyze withdrawal patterns, track capital outflows, and understand liquidity dynamics in 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 withdrawn.
nameVARCHARName of the token being withdrawn.
symbolVARCHARSymbol of the token being withdrawn.
decimalsNUMBERNumber of decimals of the token being withdrawn.
raw_amountVARCHARRaw amount of tokens withdrawn.
amountFLOATNormalized amount of tokens withdrawn.
usd_amountFLOATUSD value of the tokens withdrawn 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

Get recent withdrawal events with essential details:
select
  project,
  protocol,
  symbol,
  amount,
  usd_amount,
  from_address,
  block_timestamp
from solana.lending.withdrawals
where block_timestamp >= current_timestamp - interval '7 days'
order by block_timestamp desc
limit 100