AptosRequestGetAccountModule class
Retrieves an individual module 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
- 
    - Object
- BaseServiceRequest<AptosApiMoveModuleByteCode, Map< String, dynamic> , AptosRequestDetails>
- AptosRequest<AptosApiMoveModuleByteCode, Map< String, dynamic> >
- AptosRequestGetAccountModule
 
Constructors
- AptosRequestGetAccountModule({required AptosAddress address, required String moduleName, BigInt? ledgetVersion})
Properties
- address → AptosAddress
- 
  Address of account with or without a 0xprefixfinal
- 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
- moduleName → String
- 
  Name of module to retrieve e.g. coinfinal
- 
  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) → AptosApiMoveModuleByteCode
- 
  
  override
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited