RpcLedger class abstract

Implemented types
Implementers

Constructors

RpcLedger()

Properties

api RpcApi
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isClosed bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeMapping TypeMapping
no setterinherited

Methods

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

Operators

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

Static Properties

factories TypeMapping
final