Skip to main content

channelTopic

@totemsdk/omnia


@totemsdk/omnia / channelTopic

Function: channelTopic()

channelTopic(channelId): Buffer

Derive the 32-byte Hyperswarm topic Buffer for a given channel ID.

Parameters​

channelId​

string

Returns​

Buffer