AptosRequestGetAccountResources class

Retrieves all account resources for a given account and a specific ledger version. If the ledger 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

AptosRequestGetAccountResources.new({required AptosAddress address, BigInt? ledgetVersion, String? start, int? limit})

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
limit int?
Max number of account resources to retrieveIf not provided, defaults to default page size.
final
method String
no setteroverride
pathParameters List<String>
no setteroverride
queryParameters Map<String, String?>
no setteroverride
requestType → RequestServiceType
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start String?
Cursor specifying where to start for paginationThis cursor cannot be derived manually client-side. Instead, you mustcall this endpoint once without this query parameter specified, andthen use the cursor returned in the X-Aptos-Cursor header in theresponse.
final

Methods

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

Operators

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