POST
/
markets
/
quote
Get quotes
curl --request POST \
  --url https://tars.loopscale.com/v1/markets/quote \
  --header 'Content-Type: application/json' \
  --header 'user-wallet: <user-wallet>' \
  --data '{
  "durationType": 123,
  "duration": 123,
  "principal": "<string>",
  "limit": 123,
  "offset": 123,
  "collateral": [
    "<string>"
  ],
  "minPrincipalAmount": 123
}'
[
  {
    "apy": 123,
    "ltv": 123,
    "liquidationThreshold": 123,
    "maxPrincipalAvailable": 123,
    "sumPrincipalAvailable": 123
  }
]

Headers

user-wallet
string
required

Wallet address of the requesting user

Body

application/json

Response

200
application/json

List of available quotes

The response is of type object[].