AptosRequestGetAccountResource class

Retrieves an individual resource from a given account and at a specific ledger version. If theledger version is not specified in the request, the latest ledger version is used. The Aptos nodes prune account state history, via a configurable time window. If the requested ledger version has been pruned, the server responds with a 410. aptos documation

Inheritance

Constructors

AptosRequestGetAccountResource.new({required AptosAddress address, required String resourceType, BigInt? ledgetVersion})

Properties

address AptosAddress
Address of account with or without a 0x prefix
final
hashCode int
The hash code for this object.
no setterinherited
ledgetVersion BigInt?
Ledger version to get state of accountIf not provided, it will be the latest version
final
method String
no setteroverride
pathParameters List<String>
no setteroverride
queryParameters Map<String, String?>
no setteroverride
requestType → RequestServiceType
no setterinherited
resourceType String
Name of struct to retrieve e.g. 0x1::account::Account
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildRequest(int requestID) AptosRequestDetails
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(Map<String, dynamic> result) AptosApiMoveResource
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited