LendingRawResponse
Response from direct-mode lending operations (deposit, withdraw, borrow, repay).
transaction objectrequired
Target contract address
0x1234...abcdEncoded calldata
0xabcdef...ETH value to send with the transaction
0Human-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.
Target contract address
Encoded calldata
ETH value
0Human-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.
Market identifier (format: lender:chainId:address)
AAVE_V3:8453:0x4200000000000000000000000000000000000006utilization objectrequired
Utilization ratio (0–1)
Current value
Projected value after the action
borrowRate objectrequired
Borrow APR (%)
Current value
Projected value after the action
depositRate objectrequired
Deposit/supply APR (%)
Current value
Projected value after the action
{
"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
}
}
]
}