lendborrow

Get Asset Info

Returns comprehensive asset metrics including liquidation thresholds, collateral factors, and price feed data for specified tokens in lending markets.

💡 Compute Unit Value: 110 (Fixed)

get/defi/v1/lendborrow/getassetinfo

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/lendborrow/getassetinfo
  • Auth
    API key in header X-API-Key

Query parameters

lendborrowId'1300' | '1302'

The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions.

Example:1300
assetstring required

Token's address to retrieve details for.

Example:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
marketstring

Standard market choice like USDC or WETH. Defaults to USDC if not specified.

Example:USDC

Response

Successful response

statusnumber

Numeric status code indicating success or failure of the API call

msgstring

Human-readable message describing the API result or error

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "index": "3",
    "priceFeedAddress": "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984",
    "borrowCollateralFactor": "75",
    "liquidateCollateralFactor": "81",
    "liquidationFactor": "15"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.