LendingProxyResponse
Response from proxy-mode lending operations (via 1delta composer).
transaction objectrequired
tostringrequired
Target contract address
Example:
0x1234...abcddatastringrequired
Encoded calldata
Example:
0xabcdef...valuestringrequired
ETH value to send with the transaction
Example:
0descriptionstring
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:
0descriptionstring
Human-readable description of the approval (e.g. "Approve borrow for AAVE_V3", "Approve ERC20")
]
LendingProxyResponse
{
"transaction": {
"to": "0x1234...abcd",
"data": "0xabcdef...",
"value": "0",
"description": "string"
},
"permissionTxns": [
{
"to": "string",
"data": "string",
"value": "0",
"description": "string"
}
]
}