Can't accept collection offers - error "You must supply the appropriate criterias for criteria based items"
1.I had to fetch the collection orders via the API
2. I had to call the fulfillOrder like this
await openseaSDK.fulfillOrder({
order: {
protocolData: order.protocol_data,
protocolAddress: order.protocol_address
},
recipientAddress: accounts[0],
accountAddress: accounts[0]
});
3. I get "You must supply the appropriate criterias for criteria based items"
Basically the API doesn't return consideration criteria.
+1
+1
@Rotemy Have you deserialized the order with the function from the sdk?
@Rotemy Have you deserialized the order with the function from the sdk?
I opened this issue before the new API for collection offers. I need to test it with the new API.
works now ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment.