Get Quotes

GET https://illumigate.swivel.exchange/v1/quotes?underlying=u&maturity=m&amount=a

This endpoint allows you to request a set of lending quotes 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.

underlying

string

The underlying token contract being transacted. E.g. USDC, DAI, etc.,

maturity

string

The maturity of market in unix seconds.

[
  {
    "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