ProjectOpenSea / opensea-js

TypeScript SDK for the OpenSea marketplace
https://docs.opensea.io/reference
MIT License
2.28k stars 957 forks source link

opensea-js v7 planning #1056

Closed ryanio closed 10 months ago

ryanio commented 1 year ago

Breaking changes

Non-breaking changes (applicable for inclusion in patch or minor releases)

kr1p70n1c commented 1 year ago

@ryanio I assume the item Bulk using [TransferHelper] means to add a SDK function for bulkTransfer ?

kieutuan218 commented 1 year ago

@ryanio How about API "Retrieve NFTs by Wallet Address" ? Is there currently a way for me to obtain a list of NFTs based on wallet address and collection address?

ryanio commented 1 year ago

@kieutuan218 yes there is getNFTsByCollection() available in the sdk.

for NFTs by user there is a generic get() fn that can be used with https://docs.opensea.io/v1.0/reference/getting-assets, i'll add it to the non breaking list for a nice-to-have

kieutuan218 commented 1 year ago

@ryanio https://docs.opensea.io/v1.0/reference/getting-assets This API seems to only work with the Ethereum network. I tried querying a collection on the Polygon network, but the API returned an empty result. Ex: https://opensea.io/collection/dahood-punks

ryanio commented 1 year ago

@kieutuan218 ah right, we'll need to add that in a v2 upgrade to the endpoint at some point. thanks for pointing out.

pixelpawnshop commented 1 year ago

GMGM. Was texting with thenerdassassin about adding priority fee, max gas and gaslimit as a option to add in the sdk. Would be a great feature to have.

Com1ngS00n commented 1 year ago

Hello Nerdassassin, I've been following this and am currently waiting for a gas limit option as well. Only then can I continue with my project unfortunately.. will this be added soon or will it take a while? Thanks for your support! Greetings ComingSoon

Slers commented 1 year ago

Do we have an ETA for v7? The fact that ethers-js v6 is not yet supported is quite cumbersome.

ryanio commented 10 months ago

@Slers I'm working on upgrading to ethers v6 now, starting with seaport-js, hoping to release it in opensea-js in the next couple days!