Create Listing
List an NFT for sale on the marketplace
Parameters
Parameter
Type
Description
Example Usage
import { createListing } from "streamnft-evm";
const response = await createListing(
"0x1234...abcd", // tokenAddress
1, // tokenId
"1000000000000000000", // 1 EDU (give in atomic unit of the currency)
1, // count (1 for ERC-721)
656476, // Opencampus chain ID
signer // Ethers signer
);Last updated