Skip to content

Releases: alchemyplatform/alchemy-sdk-js

v2.4.3

10 Feb 16:50
aeb51c8
Compare
Choose a tag to compare

2.4.3

Major Changes

Minor Changes

  • Added a missing gas field in the DebugTransaction interface to specify the gas provided for a transaction execution.
  • Fixed a bug with NftNamespace.getMintedNfts(), NftNamespace.getTransfersForOwner(), and NftNamespace.getTransfersForContract() where the method would incorrectly error if the specified address had no transfers.
  • Added the BigNumber ethers export. You can access this by importing BigNumber along with the other exports in the package.

v2.4.2

06 Feb 18:41
4772210
Compare
Choose a tag to compare

2.4.2

Major Changes

Minor Changes

  • Added the CoreNamespace.getTokensForOwner() method to get all the token balances and token metadata for a given address.
  • Added the wyvern and cryptopunks marketplaces in the NftSaleMarketplace enum to the NftNamespace.getNftSales() method.
  • Added the blockHash field to the OwnedNftsResponse returned by NftNamespace.getNftsForOwner() to track the block hash that the request was based on.

v2.4.1

30 Jan 22:00
Compare
Choose a tag to compare

2.4.1

Major Changes

Minor Changes

  • Added the NftNamespace.getTransfersForOwner() method to get all NFT transfers to or from a provided owner address.
  • Added the NftNamespace.getTransfersForContract() method to all the NFT transfers for a provided NFT contract address.
  • Deprecated the GetMintedNftsResponse interface in favor of the TransfersNftResponse. The TransfersNftResponse contains the same properties as the GetMintedNftsResponse and includes additional fields about the transfer.

v2.4.0

25 Jan 16:43
e18b68e
Compare
Choose a tag to compare

2.4.0

Major Changes

  • Added TransactNamespace.simulateAssetChanges() to simulate a transaction and return a list of asset changes.
  • Added TransactNamespace.simulateExecution() to simulate a transaction and return a list of decoded logs and traces.

Minor Changes

v2.3.1

23 Jan 21:31
Compare
Choose a tag to compare

2.3.1

Major Changes

Minor Changes

  • Added support for passing in a null tokenId when using NFT Webhook Filters, which allows you to listen to all token ids in a collection.
  • Added NftNamespace.getMintedNfts() to fetch all the NFTs an owner address minted, optionally filtered by a set of specific NFT contracts.
  • Added the option to pass in an EventFilter with multiple addresses to the CoreNamespace.getLogs() method.
  • Fixed a bug where the protocolFee was not included in the response for NftNamespace.getNftSales(). Deprecated the existing marketplaceFee property in favor of the new protocolFee property.

v2.3.0

11 Jan 15:54
5727375
Compare
Choose a tag to compare

2.3.0

Major Changes

  • Added the DebugNamespace to the top-level Alchemy object. The DebugNamespace is used to replay and inspect transactions and mined blocks in greater detail.

Minor Changes

  • Added the tokenUriTimeoutInMs option to NftNamespace.getNftsForContract() to specify the timeout duration for fetching an NFT's underlying metadata.
  • Fixed a bug where using AlchemySubscriptions.PENDING_TRANSACTIONS with a string array input would throw an error (#222).
  • Added support for the refreshCache option in NftNamespace.getNftMetadata(). This option is now available when using the options overload. The original method without the options overload is now deprecated.
  • Added support for the requestTimeout option in the AlchemySettings object to configure a timeout for NftNamespace and NotifyNamespace methods. Thanks @Abbaskt!
  • Added the contractDeployer and deployedBlockNumber into the NftContract object. Methods that return NFTs such as NftNamespace.getNftsForOwner() and NftNamespace.getContractsForOwner() now include this information under the contract field.

v2.2.5

20 Dec 00:46
851274a
Compare
Choose a tag to compare

2.2.5

Major Changes

  • Added NftNamespace.getContractsForOwner() to fetch all NFT contracts for a specified owner address. Thanks @xeno097!

Minor Changes

  • Fixed a bug in NftNamespace.getNftsForOwner() where the openSea metadata was not included in the returned NFT.
  • Marked the NftExcludeFilters type as deprecated. Please use NftFilters instead.
  • Added support for the orderBy param to NftNamespace.getNftsForOwner() and NftNamespace.getContractsForOwner().

v2.2.4

12 Dec 23:07
b5992e9
Compare
Choose a tag to compare

2.2.4

Major Changes

Minor Changes

  • Fixed a bug where newHeads subscriptions would error and crash when reconnecting to the websocket.
  • Fixed a bug where certain subscriptions would not reconnect after the websocket reconnected.
  • Added exports for toUtf8Bytes and toUtf8String in Utils.

v2.2.3

17 Nov 21:27
6731679
Compare
Choose a tag to compare

2.2.3

Major Changes

Minor Changes

  • Fixed a typo with the AlchemySettings.batchRequests property.

v2.2.2 (DEPRECATED!)

17 Nov 17:26
a44b080
Compare
Choose a tag to compare

2.2.2

Major Changes

Minor Changes

  • Added support for ENS resolution to the NotifyNamespace and WebsocketNamespace methods.
  • Added the batchRequests setting in AlchemySettings. Enabling this setting will automatically batch and send json-rpc requests to reduce network overhead.
  • Included new export for the Interface class from ethers to simplify encoding ABI when using eth_call.
  • Added support for the NftNamespace.getNftMetadataBatch() method to fetch metadata for multiple NFTs in a single call.
  • Added support for the NftNamespace.getNftSales() method to fetch NFT sales across different marketplaces. Thanks @xeno097!