Yochi NFT
Yochi NFT Integration Guide
Overview
Contract Interface
mintWithChannel Function
mintWithChannel Functionfunction mintWithChannel(uint256 _channel) external returns (uint256)// JavaScript Example (using web3.js or ethers.js)
const abi = [{"inputs":[{"internalType":"uint256","name":"_channel","type":"uint256"}],"name":"mintWithChannel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}];
const contract = new web3.eth.Contract(abi, "0x882276945dc518C02bDd7414e4D77E205d59Be1c");
await contract.methods.mintWithChannel(100).send({ from: userAddress });Applying for New Co-branded Yochi NFTs
Last updated