Skip to main content

LendingProxyResponse

Response from proxy-mode lending operations (via 1delta composer).

transaction objectrequired
tostringrequired

Target contract address

Example: 0x1234...abcd
datastringrequired

Encoded calldata

Example: 0xabcdef...
valuestringrequired

ETH value to send with the transaction

Example: 0
descriptionstring

Human-readable label. For alternatives, this is the aggregator name (e.g. "Paraswap"). For transactions, describes the setup action (e.g. "Switch e-mode to 1").

permissionTxns object[]required

Approval transactions that must be executed before the main transaction. Empty when the user already has sufficient allowances.

  • Array [
  • tostringrequired

    Target contract address

    datastringrequired

    Encoded calldata

    valuestringrequired

    ETH value

    Example: 0
    descriptionstring

    Human-readable description of the approval (e.g. "Approve borrow for AAVE_V3", "Approve ERC20")

  • ]
  • rateImpact object[]nullable

    Projected interest-rate impact per market. Single-market actions produce 1 entry; loop actions produce 2. Null if IRM data is unavailable.

  • Array [
  • marketUidstringrequired

    Market identifier (format: lender:chainId:address)

    Example: AAVE_V3:8453:0x4200000000000000000000000000000000000006
    utilization objectrequired

    Utilization ratio (0–1)

    currentnumberrequired

    Current value

    projectednumberrequired

    Projected value after the action

    borrowRate objectrequired

    Borrow APR (%)

    currentnumberrequired

    Current value

    projectednumberrequired

    Projected value after the action

    depositRate objectrequired

    Deposit/supply APR (%)

    currentnumberrequired

    Current value

    projectednumberrequired

    Projected value after the action

  • ]
  • LendingProxyResponse
    {
    "transaction": {
    "to": "0x1234...abcd",
    "data": "0xabcdef...",
    "value": "0",
    "description": "string"
    },
    "permissionTxns": [
    {
    "to": "string",
    "data": "string",
    "value": "0",
    "description": "string"
    }
    ],
    "rateImpact": [
    {
    "marketUid": "AAVE_V3:8453:0x4200000000000000000000000000000000000006",
    "utilization": {
    "current": 0.85,
    "projected": 0.83
    },
    "borrowRate": {
    "current": 3.2,
    "projected": 3
    },
    "depositRate": {
    "current": 2.1,
    "projected": 1.9
    }
    }
    ]
    }