Expand description
On-chain operations-related API traits.
Structs§
- Account
Entry - Represents a node announcement entry on the block chain. This contains node’s public key and optional announcement information (multiaddress, block number).
- Account
Selector - Selector for on-chain node accounts.
- Acknowledged
Ticket - Contains acknowledgment information and the respective ticket
- Balance
- Represents a non-negative balance of some
Currency
. - Channel
Entry - Overall description of a channel
- Channel
Selector - Selector for channels.
- Domain
Separators - Contains domain separator information.
- Hopr
Sphinx Header Spec - Current Sphinx header specification for the HOPR protocol.
- Multiaddr
- Representation of a Multiaddr.
- Significant
Chain Event - Contains TX hash along with the Chain Event data. This could be used to pair up some events with Action. Each Action is typically concluded by a significant chain event.
- Utc
- The UTC time zone. This is the most efficient time zone when you don’t need the local time. It is also used as an offset (which is also a dummy type).
- Winning
Probability - Represents a ticket winning probability.
Enums§
- Announcement
Error - Error that can occur when making a node announcement.
- Chain
Event Type - Enumeration of HOPR chain events.
- Channel
Direction - Describes a direction of node’s own channel. The direction of a channel that is not own is undefined.
- Channel
Status Discriminants
Traits§
- Chain
Events - Allows subscribing to on-chain events.
- Chain
KeyOperations - Operations for offchain keys.
- Chain
Read Account Operations - Chain operations that read on-chain node accounts.
- Chain
Read Channel Operations - On-chain read operations regarding channels.
- Chain
Values - Retrieves various on-chain information.
- Chain
Write Account Operations - On-chain write operations regarding on-chain node accounts.
- Chain
Write Channel Operations - On-chain write operations regarding channels.
- Chain
Write Ticket Operations - On-chain write operations with tickets.
- Currency
- Represents a general currency - like a token or a coin.
- KeyId
Mapper - Trait that defines 1:1 mapper between key identifiers and the actual public keys.
Type Aliases§
- Chain
Receipt - Receipt of an on-chain operation.
- Channel
Id - Alias for the
Hash
representing a channel ID. - Date
Time - Hopr
Balance - Hopr
Sphinx Suite - Currently used public key cipher suite for Sphinx.