NetNodeQueries extension

Read only views of a networked node's chain and mesh.

on

Properties

height → int

Available on NetNode, provided by the NetNodeQueries extension

The committed chain height.
no setter

Methods

balance(Uint8List address) → int

Available on NetNode, provided by the NetNodeQueries extension

The balance of an address on this account model chain.
peerBanned(int peer) → bool

Available on NetNode, provided by the NetNodeQueries extension

Whether peer has been banned for misbehaviour.
proveAccount(Uint8List address) → Uint8List

Available on NetNode, provided by the NetNodeQueries extension

A state inclusion proof for an address.
proveRecord(Uint8List key) → Uint8List

Available on NetNode, provided by the NetNodeQueries extension

Record model networks: a state inclusion proof for the record at key.
record(Uint8List key) → RecordEntry?

Available on NetNode, provided by the NetNodeQueries extension

Record model networks: the committed record at key, or null.
recordNonce(Uint8List address) → int

Available on NetNode, provided by the NetNodeQueries extension

Record model networks: the next nonce address must use.
replayLog() → List<Uint8List>

Available on NetNode, provided by the NetNodeQueries extension

Every unique consensus payload of the current height, in arrival order. Replay it to a peer whose link connects after consensus started.
stateRoot() → Uint8List

Available on NetNode, provided by the NetNodeQueries extension

The 32 byte state root.
tip() → Uint8List

Available on NetNode, provided by the NetNodeQueries extension

The encoded tip header.