Get Best Quote

GET https://illumigate.swivel.exchange/v1/quotes/best?amount=a

This endpoint allows you to request the best lending quote from the following integrated protocols:

0 - Illuminate

1 - Swivel

2 - Yield

3 - Element

4 - Pendle

5 - Tempus

6 - Sense

7 - Apwine

8 - Notional.

Query Parameters

NameTypeDescription

amount*

string

The lend amount.

{
  "amount": "1000000000",
  "pt": {
    "amount": "1014027026",
    "decimals": 6,
    "maturity": "1688085200",
    "address": "0xeB325a92EA85dA6fDE3150e1055D7Dc74b4dC276",
    "meta": {
      "poolAddress": "0xA7711623026dAcDfcB0471185C6E9331f50cabff"
    }
  },
  "underlying": {
    "address": "0x07865c6E87B9F70255377e024ace6630C1Eaa37F",
    "decimals": 6
  },
  "maturity": "1688085200",
  "principal": 0,
  "apy": "0.03338371764"
}

Last updated