Skip to main content

TransactionDigestProtocol

TransactionDigestProtocol Objects

class TransactionDigestProtocol(typing.Protocol)

The digest of a Transaction.

next_lexicographical

def next_lexicographical() -> TransactionDigest

Returns the next digest in byte-increasing order.

next_lexicographical_opt

def next_lexicographical_opt() -> typing.Optional[TransactionDigest]

Returns the next digest in byte-increasing order, or None if the result would overflow.