opensea-js icon indicating copy to clipboard operation
opensea-js copied to clipboard

Collection Offers using SDK/API

Open MetalGear-cmd opened this issue 4 years ago • 17 comments

Hey @jtaaa This is not an issue, it's a feature request. It would be really appreciated if the Dev team can enable collection offers using the new seaport protocol via the SDK/Api. I am sure the team is already working on it, and if so it would be really amazing to have an eta on when this feature will be rolled out to the API. And if not then I am requesting the team to add this feature to the SDK/API. Thanks.

MetalGear-cmd avatar Jul 15 '22 12:07 MetalGear-cmd

Support for collection offers is currently in the works. I don't have an ETA for you but it will be soon.

jtaaa avatar Jul 15 '22 13:07 jtaaa

Support for collection offers is currently in the works. I don't have an ETA for you but it will be soon. Thanks for the update. Will be waiting for the feature release.

MetalGear-cmd avatar Jul 19 '22 20:07 MetalGear-cmd

any update for Collection Offers using SDK/API?

moon0712 avatar Jul 21 '22 17:07 moon0712

@jtaaa Any update? a rough ETA?

MetalGear-cmd avatar Jul 27 '22 12:07 MetalGear-cmd

Any update?

moon0712 avatar Aug 06 '22 02:08 moon0712

+1

0xshawn avatar Aug 14 '22 23:08 0xshawn

Support for collection offers is currently in the works. I don't have an ETA for you but it will be soon.

Is it possible to give some rough timeline at this point? E.g weeks / months? We're wanting to place collection offers based on certain criteria and for everyone's sake would rather do so via collection based bid rather than through say 6k individual bids!

mark-ht avatar Aug 15 '22 11:08 mark-ht

+1

amondi-media avatar Aug 15 '22 12:08 amondi-media

+N

moon0712 avatar Aug 21 '22 13:08 moon0712

Hello, I'm trying to send collection offers with OpenSeaSDK.api.postOrder and parameters generated according to the docs. However, the backend returns Error: API Error 400: Asset does not exist when I'm sending offer with criteria (I copied the criteria from signing message sent to MetaMask). I wonder if this feature is not yet implemented in backend or I'm misusing the postOrder API. Thank you.

m4tsuri avatar Sep 26 '22 16:09 m4tsuri

@M4tsuri Its returning that error because you set ERC_721 item type. This is because the 0 is considered to be a token Id in that case and should it not be minted it fails.

ERC_721_WITH_CRITERIA item type in combination with identifierOrCritiera 0 results in a collection offer but the API will not allow such item type yet.

tino-q avatar Sep 29 '22 09:09 tino-q

+N+1

tino-q avatar Sep 29 '22 09:09 tino-q

Thank you for demonstrating. But the API seems to be making single offer when I'm making offer with identifierOrCriteria set to 0 and itemType set exactly to 4 (which is ERC721_WITH_CRITERIA).

m4tsuri avatar Oct 02 '22 05:10 m4tsuri

can u plz tell me what u put in

const domain = {
  name: "Seaport",
  version: "1.1",
  chainId: "1",
  verifyingContract: "0x00000000006c3852cbEf3e08E8dF289169EdE581",
}

verifyingContract for main net? i got it to work for testnet but when i change to main i get {"errors":["Asset does not exist."]} the only thing i can think of is that the verifyingContract is different for main

asafd11 avatar Nov 21 '22 17:11 asafd11

Hello, I'm trying to send collection offers with OpenSeaSDK.api.postOrder and parameters generated according to the docs. However, the backend returns Error: API Error 400: Asset does not exist when I'm sending offer with criteria (I copied the criteria from signing message sent to MetaMask). I wonder if this feature is not yet implemented in backend or I'm misusing the postOrder API. Thank you.

Hello, I have the same issue. Did you solve in some way? Thank you

Ghijo1 avatar Feb 20 '23 19:02 Ghijo1

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.

github-actions[bot] avatar May 23 '23 18:05 github-actions[bot]

Hey guys, it will be good to have a working function for getOrder that is working on orderHash, thanks in advance.

sevkibaba avatar Sep 21 '23 14:09 sevkibaba