LedgerApi class abstract

Implementers

Constructors

LedgerApi()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAccountBlockByHash<T>(String hash) Future<T>
getAccountBlockByHeight<T>(ViteAddress address, int height) Future<T>
getAccountBlocks<T>(ViteAddress address, {String? accountBlockHash, String? tokenId, int count = 1}) Future<List<T>>
getAccountBlocksByAddress<T>(ViteAddress address, {int pageIndex = 0, int pageSize = 10}) Future<List<T>>
getAccountInfoByAddress<T>(ViteAddress address) Future<T>
getChunksV2<T>(String startIndex, String endIndex) Future<List<T>>
getLatestAccountBlock<T>(ViteAddress address) Future<T>
getLatestSnapshotHash<T>() Future<T>
getPowDifficulty<T>(Map<String, dynamic> params) Future<T>
getSnapshotBlockByHash<T>(String hash) Future<T>
getSnapshotBlockByHeight<T>(int height) Future<T>
getSnapshotChainHeight<T>() Future<T>
getUnreceivedBlocksByAddress<T>(ViteAddress address, {int pageIndex = 0, int pageSize = 10}) Future<List<T>>
getUnreceivedBlocksInBatch<T>(List<Map<String, dynamic>> ranges) Future<Map<String, List<T>>>
getUnreceivedTransactionSummaryByAddress<T>(ViteAddress address) Future<T>
getUnreceivedTransactionSummaryInBatch<T>(List<ViteAddress> addresses) Future<List<T>>
getVmLogs<T>(String hash) Future<List<T>>
getVmLogsByFilter<T>(Map<String, dynamic> filter) Future<List<T>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendRawTransaction(Map<String, dynamic> transaction) Future<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited