AptosRequestGetTransactions class
Retrieve on-chain committed transactions. The page size and start ledger version can be provided to get a specific sequence of transactions. If the version has been pruned, then a 410 will be returned. To retrieve a pending transaction, use /transactions/by_hash. aptos documation
- Inheritance
-
- Object
- BaseServiceRequest<
List< AptosApiTransaction> , List<Map< , AptosRequestDetails>String, dynamic> > - AptosRequest<
List< AptosApiTransaction> , List<Map< >String, dynamic> > - AptosRequestGetTransactions
Constructors
- AptosRequestGetTransactions.new({BigInt? start, int? limit})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- limit → int?
-
Max number of transactions to retrieve., defaults to default page size.
final
- method → String
-
no setteroverride
-
pathParameters
→ List<
String> -
no setterinherited
-
queryParameters
→ Map<
String, String?> -
no setteroverride
- requestType → RequestServiceType
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → BigInt?
-
Ledger version to start list of transactions
If not provided, defaults to showing the latest transactions
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> >AptosApiTransaction> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited