lendborrow
Transfer
Execute an internal transfer of deposited assets between accounts within the protocol. This operation enables you to reassign collateral or reallocate funds without exiting the system, all while optimizing gas usage to keep costs low.
💡 Compute Unit Value: 100 (Fixed)
post/defi/v1/lendborrow/transfer
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/lendborrow/transfer
- AuthAPI key in header X-API-Key
Request body
Example request
{
"lendborrowId": "1300",
"from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
"asset": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"to": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
"amount": "1000000000000000000",
"gas": "100000",
"gasPriority": "low",
"market": "USDC",
"enableFee": false,
"batchOption": "EIP-5792",
"batcherContract": "0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca",
"simulate": false
}Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"chainId": "1",
"from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
"to": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
"value": "0",
"gas": "50000",
"estimationCheck": true,
"data": "0xa9059cbb0000000000000000000000006fb447ae94f5180254d436a693907a1f5769690000000000000000000000000000000000000000000000000000000000000f4240",
"referenceId": "327ae3106cf149dd98cd060db515a4ef"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.