Expand description
Types used as operation parameters and responses.
Modules§
Structs§
- Account
Addresses Response - Contains the node’s native addresses.
- Account
Balances Response - Contains all node’s and safe’s related balances.
- Announced
Peer Response - A peer that has been announced.
- ApiError
- Standardized error response for the API
- Channel
Direction Query - Query parameters selecting which channel (incoming or outgoing) to address.
- Channel
Info Response - General information about a channel state.
- Channel
Ticket - Represents a ticket in a channel.
- Channels
Query Request - Parameters for enumerating channels.
- Close
Channel Response - Status of the channel after a close operation.
- Connected
Peer Response - Immediate observation data for a connected peer.
- Fund
Body Request - Specifies the amount of HOPR tokens to fund a channel with.
- Fund
Channel Response - Response body for funding a channel.
- Multiaddress
Source - A multiaddress paired with its discovery origin.
- Node
Channel - Channel information as seen by the node.
- Node
Channels Response - Listing of channels.
- Node
Info Response - Information about the current node. Covers network, addresses, eligibility, connectivity status, contracts addresses and indexer state.
- Node
Peer Info Response - Comprehensive information about a peer: multiaddresses, QoS observations, and channel state.
- Node
Ticket Statistics Response - Received tickets statistics.
- Node
Version Response - Running node version.
- Open
Channel Body Request - Request body for opening a channel.
- Open
Channel Response - Response body for opening a channel.
- Peer
Channel Info - Channel information for a specific peer.
- Peer
QosInfo - QoS observation data for a peer.
- Ping
Response - Contains the latency and the reported version of a peer that has been pinged.
- Redeem
Tickets Request - Request body for ticket redemption with optional fields.
- Session
Client Request - Request body for creating a new client session.
- Session
Client Response - Response body for creating a new client session.
- Session
Config SessionConfig- Ticket
Price Response - Contains the ticket price in HOPR tokens.
- Ticket
Probability Response - Contains the winning probability of a ticket.
- Withdraw
Body Request - Request body for the withdrawal endpoint.
- Withdraw
Response - Response body for the withdrawal endpoint.
Enums§
- Announcement
Origin Response - How a peer announcement was discovered.
- Channel
Direction - Direction of a channel relative to this node.
- IpProtocol
- IP transport protocol
- Routing
Options RoutingOptions- Session
Capability - Session capabilities that can be negotiated with the target peer.
- Session
Target Spec - Session target specification.