Skip to content
LogoLogo

setNftTokenTransferable

Enable/disable the ability to transfer the NFT token to another address.

The default value of transferable is false if setNftTokenTransferable is not called.

Usage

import { ,  } from '@deltadao/nautilus'
import {  } from 'ethers'
 
const  = await .(new ('0x1234'))
 
const  = new ()
.(false) 
const  = .() 
 
await .() 

Returns

The asset builder instance, to chain further calls with.

Parameters

transferable

  • Type: boolean
  • false - NFT is not transferable.
  • true - NFT is transferable.
  • undefined - defaults to true (NFT is transferable)
.(
    true
)