Returns the top quote for each specified collateral asset based on available liquidity. This endpoint is designed for minimizing rate slippage for a borrow with known inputs.
Wallet address of the requesting user
Duration type enum (0 = days, 1 = weeks, 2 = months, 3 = minutes, 4 = years)
Number of units of the specified durationType
Token mint address of the principal
Mapping from collateral mint to detailed collateral metadata
Best matching quote per collateral asset
Annualized interest rate in 1/100th of a basis point
Lender who is offering the quote
Collateral mint pubkey
Maximum initial loan to value in 1/100th of a basis point
Liquidation loan to value in 1/100th of a basis point
Maximum amount that can be borrowed, in lamports
[
{
"apy": 100000,
"strategy": "9rQ8Q4tMUDhT",
"collateralIdentifier": "So11111111111111111111111111111111111111112",
"ltv": 600000,
"lqt": 800000,
"amount": 12000000000
}
]