API Reference
Integrate the Loopscale protocol
cURL
curl --request POST \ --url https://tars.loopscale.com/v1/markets/collateral/holders \ --header 'Content-Type: application/json' \ --data '{ "mints": [ "<string>" ], "pdas": true }'
[ { "collateralMint": "6TiBRYFLs9H4wnwEVyqZfPs6bshAM9ZcaS976tDDGuD", "totalDeposits": 389168.10806099995, "userDeposits": { "G7mjP2Hpj3A5d6f1LTjXUAy8MR8FDTvZcPY79RDhQv": 278911.414198, "6Fjoe4udyj6r1ZLk3MDPcFzeDYNWvekSkjNwyEAsWTmTw": 137741.601249 } } ]
Fetches a list of users and total balances for one or more specified collateral mints.
List of collateral mint addresses to filter for.
Whether to return the PDAs holding the assets or the end borrower wallet.
A list of collateral holder objects
Deposits per user of corresponding collateral
Show child attributes