POST
/
markets
/
quote
/
max
Get max quote
curl --request POST \
  --url https://tars.loopscale.com/v1/markets/quote/max \
  --header 'Content-Type: application/json' \
  --header 'user-wallet: <user-wallet>' \
  --data '{
  "durationType": 123,
  "duration": 123,
  "principalMint": "<string>",
  "collateralFilter": [
    {
      "amount": 123,
      "assetData": {
        "Spl": {
          "mint": "<string>"
        }
      }
    }
  ]
}'
[
  {
    "apy": 100000,
    "strategy": "9rQ8Q4tMUDhT",
    "collateralIdentifier": "So11111111111111111111111111111111111111112",
    "ltv": 600000,
    "lqt": 800000,
    "amount": 12000000000
  }
]

Headers

user-wallet
string
required

Wallet address of the requesting user

Body

application/json

Response

200
application/json

Best matching quote per collateral asset

Array of quotes with collateral and strategies