AptosRequestGetAccount class
Return the authentication key and the sequence number for an account\naddress. Optionally, a ledger version can be specified. If the ledger\nversion is not specified in the request, the latest ledger version is used aptos documation
- Inheritance
-
- Object
- BaseServiceRequest<
AptosApiAccountData, Map< String, dynamic> , AptosRequestDetails> - AptosRequest<
AptosApiAccountData, Map< String, dynamic> > - AptosRequestGetAccount
Constructors
- AptosRequestGetAccount.new({required AptosAddress address, BigInt? ledgerVersion})
Properties
- address → AptosAddress
-
Address of account with or without a
0x
prefixfinal - hashCode → int
-
The hash code for this object.
no setterinherited
- ledgerVersion → BigInt?
-
Ledger version to get state of account If 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(
Map< String, dynamic> result) → AptosApiAccountData -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited