POST
/
markets
/
lending_vaults
/
deposits
Get list of vault depositors
curl --request POST \
  --url https://tars.loopscale.com/v1/markets/lending_vaults/deposits \
  --header 'Content-Type: application/json' \
  --data '{
  "vaultAddresses": [
    "<string>"
  ],
  "principalMints": [
    "<string>"
  ]
}'
[
  {
    "vaultAddress": "AXanCP4dJHtWd7zY4X7nwxN5t5Gysfy2uG3XTxSmXdaB",
    "userDeposits": [
      {
        "userAddress": "2fyUG8mSGgCkh9jDaSHToN4dPrp5x3Bb7boETVMRHR6h",
        "amountSupplied": 41214262
      }
    ]
  }
]

Body

application/json

Response

200
application/json

A list of vaults and an array of users and their balances in the vault

List of user positions separated by vault