@tech-bureau/mijin-catapult-tools
Version:
This tool is for easy operation of mijin Catapult(v.2)
19 lines • 1.36 kB
TypeScript
import { NetworkType, NamespaceId, NamespaceRepository, NamespaceInfo, AliasTransaction } from '@tech-bureau/symbol-sdk';
export default class NamespaceServices {
constructor();
static createRootNamespace(epoch: number, name: string, duration: number, networkType: NetworkType, feeMultiplier: number): import("@tech-bureau/symbol-sdk").Transaction | null;
static createSubNamespace(epoch: number, name: string, parentName: string, networkType: NetworkType, feeMultiplier: number): import("@tech-bureau/symbol-sdk").Transaction | null;
static linkMosaic(epoch: number, namespaceId: string, mosaicId: string, networkType: NetworkType, feeMultiplier: number): AliasTransaction | null;
static linkAddress(epoch: number, namespaceId: string, address: string, networkType: NetworkType, feeMultiplier: number): import("@tech-bureau/symbol-sdk").Transaction | null;
static getNamespaceId(id: string): NamespaceId | null;
static getNamespace(namespaceId: string, namespaceRepository: NamespaceRepository): Promise<NamespaceInfo | null>;
static namespaceInfo(namespaceInfo: NamespaceInfo): {
active: boolean;
ownerAddress: string;
namespaceId: string;
parentId: string;
aliasMosaicId: string | undefined;
aliasAddress: string | undefined;
};
}
//# sourceMappingURL=NamespaceServices.d.ts.map