getItemsByCreator is not working for all items from Opensea #51
-
Question Posted: 21 June 2021, in Discord
It looks like getItemsByCreator is not working for all items from Opensea. Here's an example: https://api.rarible.com/protocol/v0.1/ethereum/nft/items/byCreator?creator=0x5362d930a875560b5325663e9d90ce7310973e74 If you go to the creator's page on Rarible website, it does have items, but the API is returning empty array: https://rarible.com/user/0x5362d930a875560b5325663e9d90ce7310973e74?tab=created Same happens for all other Opensea NFTs. Not sure if this is just for Opensea or for any non-rarible NFTs.... QUESTION #2: Does the protocol allow people to create sell orders that only a specific address can buy? I thought this was possible by setting the "taker" attribute. Here's the payload:
After submitting the order to the API, I looked at the order item and I can see the // Question #3: I've been trying to get the
Maybe I'm doing something wrong. Aren't theu unix timestamps? As you can see, I've included but I don't see the "end" attribute.
2 - that is indeed what taker is for. Did you test filling the order? That may still need to be added to the UI 3 - yes that should work. Need to confirm that this is the correct precision for the time stamp. Looks right at a glance but not able to confirm at the moment. Also haven’t tested that so I will try and report back
But, these fields currently are not shown on rarible UI.
could you share a working example for the "start" and "end"? I've tried all of milliseconds, microseconds and seconds options and even minutes. Couldnt't get any of them to work. I don't expect them to show up on the Rarible UI, they are simply not included in the order API. Here's an example: Also, maybe I'm misinterpreting what these fields are. If it's not unix timestamp and you said the precision is in seconds, maybe it is not even about unix timestamp? Do
Quoted: "It looks like getItemsByCreator is not working for all items" Yes, thanks for the issue. Will fix this. Created an issue
I don’t know what I’m doing wrong with the order request. Here’s what I submit:
The error message I'm getting is:
This is a bug, I think, Is this on mainnet?
I've been testing on rinkeby and ropsten because I didn't yet want to spam the mainnet with too many NFTs. What's weird is, it suddenly started working even though I didn't change the code, and it's not been working for at least a couple of days. Did someone at the team see my message and fix it?
I can see why this happens (we need to round some value stored in db, we don't currently). Anyway, I created an issue thanks for the submission As it works for you, I won't set it super high priority, so should be fixed next week |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Since we need to group and filter the discussions page, I'll be adding this reply as an answer since these kinds of threads(from discord) won't have activity any time soon. |
Beta Was this translation helpful? Give feedback.
Since we need to group and filter the discussions page, I'll be adding this reply as an answer since these kinds of threads(from discord) won't have activity any time soon.