@jmcanterafonseca-iota/anchoring-channels
Version:
Powered by IOTA Streams, Anchor Channels is an easy to be used library that allows to anchor messages to the Tangle.
17 lines (16 loc) • 446 B
TypeScript
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>;
}