getOrder with undefined contract / token returns a random order
Issue: If you request an order with seaport.api.getOrder and provide undefined values for asset_contract_address and token_id, a totally random order is returned.
Reproduction:
const order = await seaport.api.getOrder({
side: OrderSide.Sell,
asset_contract_address: undefined,
token_id: undefined
});
Expected: An error or no order returned.
Actual: A random item is returned.
Thank you. Let me know if there's anything else I can provide to help.
Are you still running into this issue?
Use seaport.api.getOrderLegacyWyvern - works for me
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.