getAsset()

Get asset details for specified asset

Parameters

export type GetAssetProps = {
    assetId: string;
}

Examples

const asset = await assetlayer.assets.getAsset({
    assetId: 'assetId'
});

Return Types

type ReturnType = Asset;
Asset

Alternatives

info()

Last updated