ThorNodeRequestLoanCloseQuote class

Provide a quote estimate for the provided loan close.

Inheritance

Constructors

ThorNodeRequestLoanCloseQuote({BigInt? height, String? fromAsset, String? toAsset, String? minOut, BigInt? repayBPS, String? loanOwner})

Properties

fromAsset String?
the asset used to repay the loan
final
hashCode int
The hash code for this object.
no setterinherited
height BigInt?
optional block height, defaults to current tip
final
loanOwner String?
the owner of the loan collateral
final
method String
method for the request.
no setteroverride
minOut String?
the minimum amount of the target asset to accept
final
parameters Map<String, String?>
no setteroverride
pathParameters List<String>
list of path parameters variable
no setteroverride
repayBPS BigInt?
the basis points of the existing position to repay
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toAsset String?
the collateral asset of the loan
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(Map<String, dynamic> result) Map<String, dynamic>
Converts the response result to the specified type RESULT.
inherited
toRequest(int id) ThorNodeRequestDetails
Converts the request parameters to ThorNodeRequestDetails with a unique identifier.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited