mnee
Version:
A simple package for interacting with the MNEE USD
20 lines (19 loc) • 748 B
TypeScript
import { LockingScript } from '@bsv/sdk';
/**
* MAP (Magic Attribute Protocol) metadata object with stringified values for writing to the blockchain
* @typedef {Object} MAP
* @property {string} app - Application identifier
* @property {string} type - Metadata type
* @property {string} [prop] - Optional. Additional metadata properties
*/
export type MAP = {
app: string;
type: string;
[prop: string]: string;
};
export type Inscription = {
dataB64: string;
contentType: string;
};
export declare const MAP_PREFIX = "1PuQa7K62MiKCtssSLKy1kh56WWU7MtUR5";
export declare const applyInscription: (lockingScript: LockingScript, inscription?: Inscription, metaData?: MAP, withSeparator?: boolean) => import("@bsv/sdk").Script;