Skip to main content

Module channels

Module channels 

Source

Structsยง

ChannelIdParams ๐Ÿ”’
ChannelInfoResponse ๐Ÿ”’
General information about a channel state.
ChannelsQueryRequest ๐Ÿ”’
Parameters for enumerating channels.
CloseChannelResponse ๐Ÿ”’
Status of the channel after a close operation.
FundBodyRequest ๐Ÿ”’
Specifies the amount of HOPR tokens to fund a channel with.
FundChannelResponse ๐Ÿ”’
Response body for funding a channel.
NodeChannel ๐Ÿ”’
Channel information as seen by the node.
NodeChannelsResponse ๐Ÿ”’
Listing of channels.
OpenChannelBodyRequest ๐Ÿ”’
Request body for opening a channel.
OpenChannelResponse ๐Ÿ”’
Response body for opening a channel.

Functionsยง

close_channel ๐Ÿ”’
Closes the given channel.
fund_channel ๐Ÿ”’
Funds the given channel with the given amount of HOPR tokens.
list_channels ๐Ÿ”’
Lists channels opened to/from this node. Alternatively, it can print all the channels in the network as this node sees them.
open_channel ๐Ÿ”’
Opens a channel to the given on-chain address with the given initial stake of HOPR tokens.
query_topology_info ๐Ÿ”’
show_channel ๐Ÿ”’
Returns information about the given channel.