Illuminate
  • Illuminate - DeFi: Fixed
    • iPTs: Meta Principal Tokens
    • Lending
    • Maturity & Redemption
    • Integrations
    • YieldSpace AMM
    • Pricing & Arbitrage
  • Smart Contracts
    • Lender
      • Lender.sol
    • Redeemer
      • Redeemer.sol
    • Marketplace
      • Marketplace.sol
    • Illuminate Principal Token (ERC5095)
      • ERC5095.sol
    • Deployed Contract Addresses
    • Critical Attributes
    • Key Roles
    • Contract Relationships
    • Operation Checklists
    • Deposit Lifecycle
    • Error Codes
    • Smart Contract Integration
  • IlluminAPI
    • GET
      • Get Markets
      • Get Quotes
      • Get Best Quote
      • Get Pools
      • Get Pool
      • Get Raw Pool APYs
      • Get User Positions
      • Get Status
    • POST
  • Illuminate-js
  • Media Kit
  • Misc
  • FAQ
Powered by GitBook
On this page
  1. IlluminAPI
  2. GET

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

Name
Type
Description

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"
}
PreviousGet QuotesNextGet Pools

Last updated 2 years ago