Lending
Lending Sparklend Pool Windows endpoint
Changed onget/evm/lending/sparklend/pools/windows
Request
- Base URLhttps://api.cambrian.org (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
timeframe'7d' | '30d' | '90d' | '365d' required
Example:7d
Timeframe for historical data results
pool_addressstring
Example:0x12b54025c112aa61face2cdb7118740875a566e9
Sparklend pool address
underlying_addressstring
Example:0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0
Underlying token address. See tokens for valid addresses.
chain_id1
Example:1
EVM chain ID.
min_tvl_usdnumber
Example:1000000
Minimum TVL Usd of the lending pool/vault, not the window average.
limitinteger
Limit the number of results.
offsetinteger
Offset the results, allows you to skip a number of rows before starting to return rows.
order_ascstring[]
List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order
order_descstring[]
List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order
Response
Successful response
Changes
- info
endpoint added
- info