Utility
Body
loanTokenstring · {policyId}.{assetName}RequiredExample:
Token id of loan token
29d222ce763455e3d7a09a665ce554f00ac89d2e99a1a83d267170c6.4d494ehealthFactornumber · doubleRequiredExample:
Health factor of this loan
1.23borrowRateinteger · nullableOptionalExample:
Borrow rate of this Pool in bais point, used for calculating max loan amount of Fixed Pool
500loanDurationinteger · nullableOptionalExample:
Loan duration in days, used for calculating max loan amount of Fixed Pool
7Responses
200
Success
application/json
default
An unexpected error response
application/json
post
/api/v1/calculate-max-loan-amountBody
loanTokenstring · {policyId}.{assetName}RequiredExample:
Token id of loan token
29d222ce763455e3d7a09a665ce554f00ac89d2e99a1a83d267170c6.4d494eloanAmountstring · bigintRequiredExample:
Loan amount
1231354Responses
200
Success
application/json
default
An unexpected error response
application/json
post
/api/v1/calculate-health-factorLast updated