Getting the mosaic information

Get the ownership, divisibility, duration, and flags for a given mosaic identifier.

Prerequisites

Getting into some code

const mosaicHttp = new MosaicHttp('http://localhost:3000');
const mosaicId = new MosaicId('71415AC19C818709');

mosaicHttp
    .getMosaic(mosaicId)
    .subscribe(mosaicInfo => console.log(mosaicInfo), err => console.error(err));
const mosaicHttp = new MosaicHttp('http://localhost:3000');
const mosaicId = new MosaicId('71415AC19C818709');

mosaicHttp
    .getMosaic(mosaicId)
    .subscribe(mosaicInfo => console.log(mosaicInfo), err => console.error(err));
nem2-cli mosaic info --hex 71415AC19C818709