SuiRequestGetCoins class
Return all Coin<coin_type
> objects owned by an address.
sui documation
- Inheritance
-
- Object
- BaseServiceRequest<
SuiApiGetCoinResponse, Map< String, dynamic> , SuiRequestDetails> - SuiRequest<
SuiApiGetCoinResponse, Map< String, dynamic> > - SuiRequestGetCoins
Constructors
- SuiRequestGetCoins.new({required SuiAddress owner, String? coinType, SuiApiRequestPagination? pagination})
-
const
Properties
- coinType → String?
-
Optional type name 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) → SuiApiGetCoinResponse -
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