SuiRequestGetBalance class
Return the total coin balance for one coin type, owned by the address owner. sui documation
- Inheritance
-
- Object
- BaseServiceRequest<
SuiApiBalanceResponse, Map< String, dynamic> , SuiRequestDetails> - SuiRequest<
SuiApiBalanceResponse, Map< String, dynamic> > - SuiRequestGetBalance
Constructors
- SuiRequestGetBalance.new({required SuiAddress owner, String? coinType})
-
const
Properties
- coinType → String?
-
Optional type names for the coin (e.g., 0x168da5bf1f48dafc111b0a488fa454aca95e0b5e::usdc::USDC), default to 0x2::sui::SUI if not specified.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → String
-
The Sui method associated with the request.
no setteroverride
- owner → SuiAddress
-
The owner's Sui address
final
- pagination → SuiApiRequestPagination?
-
finalinherited
- requestType → RequestServiceType
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildRequest(
int requestID) → SuiRequestDetails -
Converts the request parameters to a SuiRequestDetails object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResonse(
Map< String, dynamic> result) → SuiApiBalanceResponse -
override
-
toJson(
) → List -
Converts the request parameters to a JSON representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited