Skip to content

addCategories

Add any additional information you might need to describe your asset.

Official OceanProtocol documentation: DDO Specification

Usage

It is currently recommended to use addTags() instead, as tags have broader adoption throughout the stack.

Returns

The asset builder instance to chain building calls with.

Parameter

categories

  • Type: string[]

The categories you want to add to the asset to be built.