Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.evav.org/llms.txt

Use this file to discover all available pages before exploring further.

List an item

Listing an item will create an NFT as an identifier, it will use your most recently created collection or the specified one. Royalties are listed in basis points (BPS). 100 BPS is equal to 1%. Royalties will be paid as soon as an item has been shipped.
import { mkt } from './config'

const listing = await mkt.list(
  {
    name: 'My Item',
    description: 'This is my item',
    category: 'Clothing',
    color: 'blue',
    tags: ['sale']
    brand: 'brand',
    nftType: 'physical'
    status: 'listed'

    royalty: { 
      royaltyAmount: 300, // 3% royalty
      receiver: '0x123' 
    },
    price: 100, // $1
    quantity: 1,

    images: [File],
    video: File,

    collection: '<COLLECTION_ADDRESS>'
  }
)