Hi guys, i am facing an issue when calling createSellOrder function define by Moralis’s Opensea’s plugin.
anyone have idea where i am doing wrong? is my contract address and owner address mismatch? because as opensea, i (0x81bbF6d5B299AE8De54AB0F819Cd02A08b8968ec) am the owner of this (0x04F08F734F60426148187517690448F3B453836C) token…
my code :-
await Moralis.Plugins.opensea.createSellOrder({
network: ‘testnet’,
tokenAddress: contract_address, //0x04F08F734F60426148187517690448F3B453836C
tokenId: token_id, //1
tokenType: ‘ERC721’,
userAddress: user.get(‘ethAddress’),//0x81bbF6d5B299AE8De54AB0F819Cd02A08b8968ec
startAmount: 1,
endAmount: 1,
//expirationTime: expirationTime, //Only set if you startAmount > endAmount
}).then((res)=>{
console.log(“Response”, res);
});
Authenticate and enableWeb3 i already done …that i have not copied here…