
DeFi Position Data: Lending, Borrowing and Liquidity
Represent deposits, debt, liquidity positions and claim tokens without equating a wallet balance with the complete economic position.
Read the guideIndexbase journal / ideas for builders
Explore positions, staking, derivatives records and evidence-based payment workflows.
Follow the article feed18 articles / page 1 of 2

Represent deposits, debt, liquidity positions and claim tokens without equating a wallet balance with the complete economic position.
Read the guide
Keep staking principal, rewards, claim conversions and yield assumptions distinguishable throughout a reporting workflow.
Read the guide
Separate observed transfers, application matching and payment acceptance while preserving fees, partial amounts and unresolved states.
Read the guide
Keep trades, open positions, funding observations and valuation calculations separate when building a derivatives data view.
Read the guide
Interpret lending health factors with collateral, debt and protocol rules, while keeping a current risk snapshot separate from a liquidation prediction.
Read the guide
Model lending interest with protocol indexes, shares and observation blocks, rather than expecting every balance increase to appear as a transfer.
Read the guide
Distinguish vault shares from underlying asset quantities, compare preview and conversion methods, and avoid treating a share token as a fixed asset amount.
Read the guide
Represent liquidity positions with pool identity, price ranges and claimable fees, instead of flattening every position into a simple token balance.
Read the guide
Calculate liquidity-position divergence against an explicit holding benchmark, and keep fees, cash flows and realised withdrawals separate from the comparison.
Read the guide
Model liquid-staking exposure using token quantity and protocol conversion rules, without assuming every reward appears as a transfer to the wallet.
Read the guide
Separate staking principal returns, rewards and execution-account receipts so a withdrawal does not automatically become newly earned income.
Read the guide
Interpret liquidation events with borrower, liquidator, collateral and debt context, and separate protocol execution from estimated eligibility.
Read the guideThe editorial approach
Each guide starts with a concrete developer question and separates technical observations from the interpretation an application adds. Worked examples use illustrative values; references point to standards and technical documentation.
Published by Indexbase. Explore related guides as your requirements develop, from a first data question to a more deliberate integration workflow.