Skip to main content

LendingRawResponse

Response from direct-mode lending operations (deposit, withdraw, borrow, repay).

transaction objectrequired
tostringrequired

Target contract address

Example: 0x1234...abcd
datastringrequired

Encoded calldata

Example: 0xabcdef...
valuestringrequired

ETH value to send with the transaction

Example: 0
permission objectrequired

Approval transaction, or null if none required

oneOf
tostringrequired

Target contract address

datastringrequired

Encoded calldata

valuestringrequired

ETH value

infostring

Human-readable description of the approval

LendingRawResponse
{
"transaction": {
"to": "0x1234...abcd",
"data": "0xabcdef...",
"value": "0"
},
"permission": {
"to": "string",
"data": "string",
"value": "string",
"info": "string"
}
}