API Reference
Integrate the Loopscale protocol
cURL
curl --request POST \ --url https://tars.loopscale.com/v1/markets/strategy/infos \ --header 'Content-Type: application/json' \ --data ' { "userAddress": "<string>", "addresses": [ "<string>" ], "principalMints": [ "<string>" ], "page": 123, "pageSize": 123 } '
{ "strategies": [ { "strategy": { "address": "<string>", "principalMint": "<string>", "tokenBalance": 123, "externalYieldAmount": 123, "currentDeployedAmount": 123, "outstandingInterestAmount": 123, "interestPerSecond": 123, "lastAccruedTimestamp": 123 }, "externalYieldInfo": { "apy": 123 } } ], "total": 123 }
Returns a list of strategy data matching the filters.
Lender's address
List of strategy onchain addresses to load
List of vault principal mints to select
Pagination offset, sorted by APY
Pagination limit (max 1000)
List of strategies that match filter
Array of strategy data
Show child attributes
Total number of strategies for this filter (to inform pagination)