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ā¦