SuiRequestGetCoinMetadata class
Return metadata (e.g., symbol, decimals) for a coin. Note that if the coin's metadata was wrapped in the transaction that published its marker type, or the latest version of the metadata object is wrapped or deleted, it will not be found. sui documation
- Inheritance
-
- Object
- BaseServiceRequest<
SuiApiCoinMetadataResponse, Map< String, dynamic> , SuiRequestDetails> - SuiRequest<
SuiApiCoinMetadataResponse, Map< String, dynamic> > - SuiRequestGetCoinMetadata
Constructors
- SuiRequestGetCoinMetadata.new({required String coinType})
-
const
Properties
- coinType → String
-
Type name for the coin (e.g., 0x168da5bf1f48dafc111b0a488fa454aca95e0b5e::usdc::USDC)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → String
-
The Sui method associated with the request.
no setteroverride
- 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) → SuiApiCoinMetadataResponse -
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