Real-Time Data Engine
Types of Data Available
Protocol Data: Includes information on data points related to protocol, supported markets, oracles and liquidations.
User Data: Includes information on data points related to user / address e.g. active supply, borrow positions, APY, and rewards.
Protocol Data
General Information
Details:
protocolName
: Name of the protocolnetwork
: Blockchain network (e.g., Ethereum)description
: Description of the protocoltotalValueLocked
: TVL in the protocol
Statistics:
totalUsers
: Total number of userstotalMarkets
: Total number of marketstotalBorrowed
: Total borrowed amounttotalSupplied
: Total supplied amountrevenue
: Revenue metrics (protocol, supply-side, etc.)
Market Information
Market List:
Array of markets, each containing:
marketId
: Unique identifier for the marketmarketName
: Name of the marketisActive
: Whether the market is activeassetPairs
: List of supported asset pairs
Market Metrics:
marketId
: Unique identifier for the marketcollateralFactor
: Collateral factor for the marketliquidationThreshold
: Liquidation thresholdmaximumLTV
: Maximum loan-to-value ratiototalBorrowed
: Total borrowed in this markettotalSupplied
: Total supplied in this marketutilizationRate
: Utilization ratehistoricalRates
: Array of historical rates (supply, borrow)Rewards and APYs:
supplyAPY
: Annual percentage yield for suppliersborrowAPY
: Annual percentage yield for borrowersrewardTokens
: List of reward tokens available in the marketnetRewardSupplyAPY
: Net supply APY including rewardsnetRewardBorrowAPY
: Net borrow APY including rewardsnetSupplyAPY
: Net supply APYnetBorrowAPY
: Net borrow APY
Oracles
Oracle Data:
oracleId
: Unique identifier for the oracleoracleName
: Name of the oraclesupportedAssets
: List of assets supported by the oraclecurrentPrices
: Current asset priceshistoricalPrices
: Historical asset prices
Liquidations
Liquidation Metrics:
totalLiquidations
: Total liquidation eventsliquidationVolume
: Total volume of liquidationsliquidatedAccounts
: Accounts that have been liquidatedhistoricalLiquidations
: Array of historical liquidation events
Protocol Metrics
Transaction Metrics:
borrowCount
: Total number of borrow transactionsdepositCount
: Total number of deposit transactionsrepayCount
: Total number of repay transactionswithdrawCount
: Total number of withdraw transactionsflashloanCount
: Total number of flashloan transactions
How to Access
APIs and GraphQL endpoint: The Real-Time Data Engine provides RESTful APIs and GraphQL endpoint that developers can use to access various data points. Detailed documentation and usage examples will be made available soon in Developer portal.
Last updated