UNPKG

@tangle-js/anchors

Version:

Anchoring messages to the Tangle. Powered by IOTA Streams

17 lines (16 loc) 495 B
/// <reference types="node" /> import type { Subscriber } from "@tangle.js/streams-wasm/node/streams.js"; export interface IAnchoringRequest { /** The channel ID */ channelID: string; /** Whether the channel is encrypted */ encrypted: boolean; /** Whether the channel is private */ isPrivate: boolean; /** The IOTA Streams Subscriber */ subscriber: Subscriber; /** The message */ message: Buffer; /** The anchorage point */ anchorageID: string; }