SuiRequestTryGetPastObject class
Note there is no software-level guarantee/SLA that objects with past versions can be retrieved by this API, even if the object and version exists/existed. The result may vary across nodes depending on their pruning policies. Return the object information for a specified version sui documation
- Inheritance
-
- Object
- BaseServiceRequest<
SuiApiObjectRead, Map< String, dynamic> , SuiRequestDetails> - SuiRequest<
SuiApiObjectRead, Map< String, dynamic> > - SuiRequestTryGetPastObject
Constructors
- SuiRequestTryGetPastObject.new({required String objectId, required String version, SuiApiObjectDataOptions? options})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → String
-
The Sui method associated with the request.
no setteroverride
- objectId → String
-
The ID of the queried object
final
- options → SuiApiObjectDataOptions?
-
Options for specifying the content to be returned
final
- pagination → SuiApiRequestPagination?
-
finalinherited
- requestType → RequestServiceType
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → String
-
The version of the queried object. If None, default to the latest known version
final
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) → SuiApiObjectRead -
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