Credit
Get collateral asset details
Changed onReturns detailed information about a collateral asset including APY estimate (if earn vault), price in USD, underlying asset, and earn service name
get/credit/collateral/{chain}/{collateral}
Request
- Base URLhttps://api.sprinter.tech
- URLhttps://api.sprinter.tech/credit/collateral/{chain}/{collateral}
- Authnone declared
Path parameters
chainstring required
Chain ID in CAIP-2 format
collateralstring required
Collateral asset address
Response
OK
Example response
{
"data": {
"apy": 4.56,
"collateralAddress": "0xeE8F4eC5672F09119b96Ab6fB59C27E1b7e44b61",
"collateralPriceUsd": 1.023456,
"earnServiceName": "Gauntlet",
"isEarnVault": true,
"underlyingAsset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"underlyingPriceUsd": 1
}
}Changes
- info
the endpoint scheme security
ApiKeyAuthwas removed from the API
- info