UNPKG

@tangle.js/anchors

Version:

Anchoring messages to the Tangle. Powered by IOTA Streams

17 lines (16 loc) 446 B
import { IAnchoringRequest } from "../models/IAnchoringRequest"; import { IAnchoringResult } from "../models/IAnchoringResult"; /** * Service to deal with message anchors * */ export default class AnchorMsgService { /** * Anchors a message to an anchorage * * @param request The anchoring details * * @returns The result or error */ static anchor(request: IAnchoringRequest): Promise<IAnchoringResult>; }