Closed ryanio closed 10 months ago
@ryanio I assume the item Bulk using [TransferHelper]
means to add a SDK function for bulkTransfer
?
@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?
@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
@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
@kieutuan218 ah right, we'll need to add that in a v2 upgrade to the endpoint at some point. thanks for pointing out.
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.
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
Do we have an ETA for v7? The fact that ethers-js v6 is not yet supported is quite cumbersome.
@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!
Breaking changes
wallet
constructor param and just useprovider
, can be renamed tosignerOrProvider
(wallet
is a subclass of provider)chain
param fromgetNFTsByContract
/getNFT
/refreshNFTMetadata
at the end / last parameter as optional and default tosdk.chain
OpenSeaPort
Non-breaking changes (applicable for inclusion in patch or minor releases)
offer_protection_enabled
parameter for creating offers