@tangle-js/anchors
Version:
Anchoring messages to the Tangle. Powered by IOTA Streams
16 lines (15 loc) • 449 B
TypeScript
import type { IAnchoringRequest } from "../models/IAnchoringRequest";
import type { 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>;
}