lendborrow

Exit Isolation Mode

Remove isolation mode restrictions on specific assets. If an asset is isolated due to risk management settings, this endpoint allows you to exit isolation mode—restoring full flexibility in its use as collateral. Customizable gas parameters help ensure the operation executes efficiently on-chain.

💡 Compute Unit Value: 110 (Fixed)

post/defi/v1/lendborrow/exitisolationmode

Request

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

Request body

lendborrowId'1200' | '1208' | '1203' | '1204' | '1205' | '1206' | '1207'

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

assetstring required

The token address for which isolation mode should be exited.

fromstring required

Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction.

gasstring

Maximum number of gas units to allocate for the transaction, as an integer string (e.g., '200000'). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.

enableFeeboolean

Flag to include a basis points fee transaction alongside the main transaction when set to true.

simulateboolean

When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction.

Example request

{
  "lendborrowId": "1200",
  "asset": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
  "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
  "gas": "100000",
  "enableFee": false,
  "simulate": false
}

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": {
    "chainId": "1",
    "from": "0xf7426829DBAAc7F26b48C49A04a93fc4f75cfa41",
    "to": "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2",
    "value": "0",
    "gas": "429000",
    "data": "0x5a3b74b90000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a20000000000000000000000000000000000000000000000000000000000000000",
    "estimationCheck": true,
    "referenceId": "8581446eb9aa421dabf15ce8b55cb25d"
  }
}

Changes

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