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.
A list of vaults and an array of users and their balances in the vault
List of user positions separated by vault