Skip to main content

TVL Agg

Table Metadata​

PropertyConfiguration
Natural Key(s)day, asset_code, asset_issuer, asset_type
Partition Field(s)N/A
Clustered Field(s)N/A
Documentationdbt docs

Column Details​

NameDescriptionData TypeDomain ValuesRequired?Notes
dayThe date for the aggregation result.DATEYesNatural Key.
asset_typeThe identifier for type of asset code, can be an alphanumeric with 4 characters, 12 characters or the native asset to the network, XLM.STRING
  • credit_alphanum4
  • credit_alphanum12
  • native
YesNatural Key. XLM is the native asset to the network. XLM has no asset code or issuer representation and will instead be displayed with an asset type of 'native'
asset_codeThe 4 or 12 character code representation of the asset on the network.STRINGNoNatural Key. Asset codes have no guarantees of uniqueness. The combination of asset code, issuer and type represents a distinct asset.
asset_issuerThe account address of the original asset issuer that created the asset.STRINGNoNatural Key.
contract_idSoroban contract id of the SAC or contract token the asset maps to.STRINGNo
accounts_tvlThe total value locked (TVL) denominated in raw asset value (token amounts) for a given date. Aggregated across accounts selling liabilities.FLOATYes
trustlines_tvlThe total value locked (TVL) denominated in raw asset value (token amounts) for a given date. Aggregated across trustlines selling liabilities.FLOATYes
liquidity_pools_tvlThe total value locked (TVL) denominated in raw asset value (token amounts) for a given date. Aggregated across liquidity pool balances (AMM).FLOATYes
total_tvlThe total value locked (TVL) denominated in raw asset value (token amounts) for a given date. Aggregated across relevant ledger entries (e.g., accounts, trustlines, liquidity pools).FLOATYes