curl --request POST \
--url https://tars.loopscale.com/v1/markets/creditbook/borrow \
--header 'Content-Type: application/json' \
--header 'payer: <payer>' \
--data '
{
"loan": "<string>",
"borrowParams": {
"amount": 123,
"expectedLoanValues": {
"expectedApy": 123,
"expectedLqt": [
123
]
},
"assetIndexGuidance": [
123
],
"duration": 123,
"skipSolUnwrap": true
},
"strategy": "<string>",
"refinanceParams": {
"ledgerIndex": 123,
"durationIndex": 123,
"assetIndexGuidance": [
123
]
},
"isLoop": true
}
'