ThorNodeRequestAddressBorrowerSaverPosition class
Returns the borrower position given the pool and address.
- Inheritance
-
- Object
- ThorNodeRequestParam<
AssetBorrowerPositionResponse, Map< String, dynamic> > - ThorNodeRequestAddressBorrowerSaverPosition
Constructors
- ThorNodeRequestAddressBorrowerSaverPosition({required String asset, required String address, BigInt? height})
Properties
- address → String
-
Example: thor1zupk5lmc84r2dh738a9g3zscavannjy3nzplwt
final
- asset → String
-
Example: BTC.BTC
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → BigInt?
-
optional block height, defaults to current tip
final
- method → String
-
method for the request.
no setteroverride
-
parameters
→ Map<
String, String?> -
no setteroverride
-
pathParameters
→ List<
String> -
list of path parameters variable
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResonse(
Map< String, dynamic> result) → AssetBorrowerPositionResponse -
Converts the response result to the specified type
RESULT
.override -
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