UNPKG

@tangle.js/anchors

Version:

Anchoring messages to the Tangle. Powered by IOTA Streams

16 lines (15 loc) 526 B
import { Address, Subscriber } from "@tangle.js/iota_streams_wasm"; export declare class ChannelHelper { /** * Finds an anchorage message on the channel by going through the messages * * @param subs Subscriber * @param anchorageID The anchorage identifier * * @returns whether it has been found and the link to the anchorage on the Channel */ static findAnchorage(subs: Subscriber, anchorageID: string): Promise<{ found: boolean; anchorageLink?: Address; }>; }