Skip to content
LogoLogo

setDescription

Set the description of the asset. This supports the markdown syntax.

Usage

import { ,  } from '@deltadao/nautilus'
import {  } from 'ethers'
import  from './description.md'
 
const  = await .(new ('0x1234'))
 
const  = new ()
.() 
const  = .() 
 
await .() 
ddo.metadata:
{
description: {
'@value': '# Asset Title\n\nA detailed description…',
'@language': 'en',
'@direction': 'ltr'
}
}

Returns

The asset builder instance, to chain further calls with.

Parameters

description

  • Type: string

The description you want to set to the asset's metadata to be built. Can contain markdown syntax.

.(
    '# Title for my asset\n\nA **detailed** description of my asset.'
)