lendborrow

Enter Market Status

Retrieves the approval status for a user’s participation in Compound protocol markets. It checks whether the necessary permissions have been granted for depositing assets into these markets and returns a list of contract addresses representing the approved markets. Use this endpoint to verify that the user is properly set up for deposit transactions before proceeding.

💡 Compute Unit Value: 120 (Fixed)

get/defi/v1/lendborrow/entermarketstatus

Request

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

Query parameters

lendborrowId'1100'

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

Example:1100
accountstring required

Public address of the user whose deposit approval status needs to be checked.

Example:0x6Fb447Ae94F5180254D436A693907a1f57696900

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": {
    "enterMarketStatus": [
      "0x20572e4c090f15667cF7378e16FaD2eA0e2f3EfF",
      "0x822397d9a55d0fefd20F5c4bCaB33C5F65bd28Eb",
      "0xCEC4a43eBB02f9B80916F1c718338169d6d5C1F0"
    ]
  }
}

Changes

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