getAssets()

Get asset details for specified assets

Parameters

export type GetAssetsProps = {
    assetIds: string[];
}

Examples

const assets = await assetlayer.assets.getAssets({
    assetIds: ['assetId_1', 'assetId_2']
});

Return Types

type ReturnType = Asset[];
Asset

Alternatives

info()

Last updated