getOrders() returns last offer across all collections instead of offers for provided item?
See original GitHub issueHello All,
I’m struggling to get highest bid on a given item. On Wyvern API it was running smoothly for me. Now, regardless if I provide asset_contract_address and token_id, delete them or put some random strings inside, the function always returns last offer across all collections instead of offers for provided item. Please kindly help me solve this problem, am I missing something here?
seaport.api.getOrders({
protocol: "seaport",
asset_contract_address: "0xea917326e8a95299c02655fe947962c43a11487f",
token_id: "4474",
limit: 1,
side: "bid"
})
Issue Analytics
- State:
- Created a year ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
GetOrders - API Reference - eBay Developers Program
The new format is a non-parsable string, globally unique across all eBay marketplaces, and consistent for both single line item and multiple line...
Read more >Orders API v0 reference - Amazon-Services-API
Returns orders created or updated during the time frame indicated by the specified ... InvoiceUnconfirmed (All items in the order have been shipped....
Read more >Part 6: Creating Product and Order Controllers - Microsoft Learn
In this tutorial, learn how to create product and order controllers for a Web API with Entity Framework.
Read more >GetOrders - Kibo Commerce
A list of requested items. All returned data is provided in an items array. For a failed request, the returned response may be...
Read more >40 Java Collections Interview Questions and Answers
Why there is not a method like Iterator.add() to add elements to the ... Collections are used in every programming language and initial...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for trying to help out here!
I have changed the code as per your suggestions to:
getOrders now return:
{ next: null, previous: null, orders: [] }
As you can see, there are a few offers on this item: https://opensea.io/assets/ethereum/0xea917326e8a95299c02655fe947962c43a11487f/4474
@georgep21 For my needs I’m fetching bids only. What I’m able to do is fetch one highest non-collection offer. I understand that including collections offers is under development, so I’ll just have to wait.
In the meantime I have another problem, but opened a new issue for it - #635