LedgerApi class

Constructors

LedgerApi()

Properties

client Client
getter/setter pair
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(Hash? hash) Future<AccountBlock?>
getAccountBlocksByHeight(Address address, [int height = 1, int count = rpcMaxPageSize]) Future<AccountBlockList>
getAccountBlocksByPage(Address address, {int pageIndex = 0, int pageSize = rpcMaxPageSize}) Future<AccountBlockList>
pageIndex = 0 returns the most recent account blocks sorted descending by height
getAccountInfoByAddress(Address address) Future<AccountInfo>
getDetailedMomentumsByHeight(int height, int count) Future<DetailedMomentumList>
getFrontierAccountBlock(Address? address) Future<AccountBlock?>
getFrontierMomentum() Future<Momentum>
getMomentumBeforeTime(int time) Future<Momentum?>
getMomentumByHash(Hash hash) Future<Momentum?>
getMomentumsByHeight(int height, int count) Future<MomentumList>
getMomentumsByPage({int pageIndex = 0, int pageSize = rpcMaxPageSize}) Future<MomentumList>
pageIndex = 0 returns the most recent momentums sorted descending by height
getUnconfirmedBlocksByAddress(Address address, {int pageIndex = 0, int pageSize = memoryPoolPageSize}) Future<AccountBlockList>
getUnreceivedBlocksByAddress(Address address, {int pageIndex = 0, int pageSize = memoryPoolPageSize}) Future<AccountBlockList>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publishRawTransaction(AccountBlockTemplate accountBlockTemplate) Future
This method returns null if the account-block was accepted
setClient(Client client) → void
toString() String
A string representation of this object.
inherited

Operators

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