AptosRequestGetAccountAssetResources 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
-
- Object
- BaseServiceRequest<
BigInt, dynamic, AptosRequestDetails> - AptosRequest<
BigInt, dynamic> - AptosRequestGetAccountAssetResources
Constructors
- AptosRequestGetAccountAssetResources.new({required AptosAddress address, required String assetType, BigInt? ledgetVersion})
Properties
- address → AptosAddress
-
Address of account with or without a
0x
prefixfinal - assetType → String
-
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
- 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(
dynamic result) → BigInt -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited