Skip to content
LogoLogo

setNftTokenUri

Image link associated with the asset. Will be saved in the base64 encoded NFT metadata (data:application/json;base64).

The default token uri is an empty string('').

Usage

import { ,  } from '@deltadao/nautilus'
import {  } from 'ethers'
 
const  = await .(new ('0x1234'))
 
const  = new ()
.('https://www.example.com/images/logo.png') 
const  = .() 
 
await .() 

Returns

The asset builder instance, to chain further calls with.

Parameters

uri

  • Type: string

A link to your asset image.

.(
    'https://www.example.com/images/logo.png'
)