API Reference
Integrate the Loopscale protocol
cURL
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 } ] } ]
Fetches a list of users and total balances grouped by vault.
List of vaults to query by, must include this or principalMints.
List of principal tokens to query by, must include this or vaultAddresses.
A list of vaults and an array of users and their balances in the vault
List of user positions separated by vault
The vault the deposits are mapped to
Deposits per user to corresponding vault
Show child attributes