AptosRequestGetRawTableItem class
Get a table item at a specific ledger version from the table identified by {table_handle}in
the path and the "key" (RawTableItemRequest) provided in the request body.The get_raw_table_item
requires only a serialized key comparing to the full move type informationcomparing
to the get_table_item
api, and can only return the query in the bcs format.
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<
dynamic, dynamic, AptosRequestDetails> - AptosRequest
- AptosPostRequest
- AptosRequestGetRawTableItem
Constructors
- AptosRequestGetRawTableItem.new({required AptosAddress tableHandle, required String key, BigInt? ledgerVersion})
Properties
-
body
→ Map<
String, dynamic> -
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> ? -
no setterinherited
- key → String
-
All bytes (Vec) data is represented as hex-encoded string prefixed with 0x
and fulfilled with two hex digits per byte. Unlike the Address type, HexEncodedBytes will not trim any zeros.
final
- ledgerVersion → 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
- tableHandle → AptosAddress
-
Table handle hex encoded 32-byte string
final
Methods
-
buildRequest(
int requestID) → AptosRequestDetails -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResonse(
dynamic result) → dynamic -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited