How can I call 'createBuyOrder' function for buy NTF token? I use the following function :
const createBuyOrder = async (orders) => {
const res = await instOpenSea.api.postOrder({ orders })
.then(res => console.log(res))
.catch(err => console.log(err));
};
createBuyOrder(orderJson);
Result of this code is error like this: Error: API Error 500: Internal server error. OpenSea has been alerted, but if the problem persists please contact us via Discord: https://discord.gg/ga8EJbv - full message was ....
How can I fix this error?