Skip to main content
POST
/
markets
/
collateral
/
holders
/
historical
Get historical collateral holders,
curl --request POST \
  --url https://tars.loopscale.com/v1/markets/collateral/holders/historical \
  --header 'Content-Type: application/json' \
  --data '{
  "mint": "<string>",
  "rangeStart": 123,
  "rangeEnd": 123,
  "pdas": true
}'
[
  {
    "collateralMint": "6TiBRYFLs9H4wnwEVyqZfPs6bshAM9ZcaS976tDDGuD",
    "rangeStart": 1749388814,
    "rangeEnd": 1758399614,
    "userDepositSeconds": {
      "G7mjP2Hpj3A5d6f1LTjXUAy8MR8FDTvZcPY79RDhQv": 278911.414198,
      "6Fjoe4udyj6r1ZLk3MDPcFzeDYNWvekSkjNwyEAsWTmTw": 137741.601249
    }
  }
]

Body

application/json
mint
string
required

List of collateral mint addresses to filter for.

rangeStart
number

Unix timestamp of earliest time cutoff to include (min of GENESIS). If undefined, will run to GENESIS

rangeEnd
number

Unix timestamp of last date to include (max of today). If undefined, will run to present

pdas
boolean

Whether to return the PDAs holding the assets or the end borrower wallet.

Response

A list of collateral holders over time.

collateralMint
string
rangeStart
number
rangeEnd
number
userDepositSeconds
object

Deposit Seconds per user of corresponding collateral, Deposit Second = Seconds supplied * Quantity supplied.

I