AptosRequestGetAccountModules class
Retrieves all account modules' bytecode for a given account at 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<List< AptosApiMoveModuleByteCode> , List<Map< , AptosRequestDetails>String, dynamic> >
- AptosRequest<List< AptosApiMoveModuleByteCode> , List<Map< >String, dynamic> >
- AptosRequestGetAccountModules
 
Constructors
- AptosRequestGetAccountModules({required AptosAddress address, BigInt? ledgetVersion, String? start, int? limit})
Properties
- address → AptosAddress
- 
  
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- ledgetVersion → BigInt?
- 
  Address of account with or without a 0xprefixfinal
- limit → int?
- 
  Max number of account modules 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< result) → List<String, dynamic> >AptosApiMoveModuleByteCode> 
- 
  
  override
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited