Get asset details for specified asset(s)
export type AssetInfoProps = { assetId?: string; assetIds?: string[]; }
const asset= await assetlayer.assets.info({ assetId: 'assetId' });
const assets = await assetlayer.assets.info({ assetIds: ['assetId_1', 'assetId_2'] });
type ReturnType = Asset | Asset[];
Last updated 1 year ago