@tangle-js/anchors
Version:
Anchoring messages to the Tangle. Powered by IOTA Streams
16 lines (15 loc) • 491 B
TypeScript
import type { StreamsClient } from "@tangle.js/streams-wasm/node/streams.js";
export interface IBindChannelRequest {
/** The client */
client: StreamsClient;
/** The channel ID 'channel_address:announce_msg_id:key_load_msg_id' */
channelID: string;
/** Whether the channel is encrypted */
encrypted: boolean;
/** Whether the channel is private */
isPrivate: boolean;
/** The seed */
seed: string;
/** Preshared key */
presharedKey?: string;
}