Log In

When the NFT in the sell pool created by the user is sold and the curve changes, the user can continue to add new NFT to the pool for sale. This function is only available when the NFT to be added by the user and the NFT in the pool belong to the same collection.

Request Parameters
_nftaddressAddress of NFT contract0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
idsuint256[]NFT TokenIDs to deposit[1003, 1005]
recipientaddressPool address0x230c7E45Cc2D73fa46dFb70EAd1F9B965F558030

call factory contract

Additional Information
// Data structure
function depositNFTs(
        IERC721 _nft,
        uint256[] calldata ids,
        address recipient
    ) external 
Return Parameters



function depositNFTs(address,uint256[],address) external

Code Example

import { ethers, utils } from 'ethers';

const abi = ['function depositNFTs(address,uint256[],address) external'];
const signer = new ethers.providers.Web3Provider(window?.ethereum).getSigner();
const contract = new ethers.Contract(factoryAddress, abi, signer);
const txResult = await contract.depositNFTs(