alchemy-sdk
Advanced tools
Changelog
2.2.2 (DEPRECATED)
NotifyNamespace
and WebsocketNamespace
methods.batchRequests
setting in AlchemySettings
. Enabling this setting will automatically batch and send json-rpc requests to reduce network overhead.Interface
class from ethers to simplify encoding ABI when using eth_call
.NftNamespace.getNftMetadataBatch()
method to fetch metadata for multiple NFTs in a single call.NftNamespace.getNftSales()
method to fetch NFT sales across different marketplaces. Thanks @xeno097!Changelog
2.2.1
AlchemyConfig.getWebsocketProvider()
was not exported as a public method. This method allows you get the underlying WebsocketProvider
that is implemented by ethers.NftNamespace.summarizeNftAttributes()
method to get the summary of attribute prevalence for all NFTs in a contract.NftNamespace.searchContractMetadata()
method to search for a keyword across ERC721 and ERC1155 contract metadata.CoreNamespace
methods. You should now be able to pass in an ENS domain into any param that requires an owner address.CoreNamespace.resolveName()
and CoreNamespace.lookupAddress()
methods to resolve and lookup ENS domains and their owner addresses.Accept-Encoding
header was incorrectly included in requests that originated from the browser (#174).openSea
response to NftNamespace.getContractMetadata()
to match the REST endpoint (#162).Changelog
2.2.0
NotifyNamespace
to the top-level Alchemy
object. The NotifyNamespace
is used to perform CRUD operations on webhooks in the Notify API.alchemy_minedTransactions
subscription event to the WebsocketNamespace
. This subscription emits full transaction objects or hashes that are mined on the network based on provided filters.NftNamespace.computeRarity()
method to get the rarity attributes of the provided NFT. Thanks @xeno097!Changelog
2.1.1
AIDROPS
enum to NftNamespace.getNftsForOwner()
.spamInfo
field to the response for getNftsForOwner()
and getNftsForContract()
.NodeNext
module resolution. Thanks @quentinverlhac!Network
enums as deprecated. Please switch over to Sepolia.Changelog
2.1.0
totalSupply
field in an NftContract
should have type string
instead of number
.Nft
class to include the contract metadata in the Nft.contract
field.Utils
export.NftNamespace.verifyNftOwnership()
method to replace the deprecated checkNftOwnership()
method.Contract
and ContractFactory
exports from ethers into the top-level exports.withTokenBalances
in NftNamespace.getOwnersForContract()
.erc20
token type and pagination for CoreNamespace.getTokenBalances()
.bytes
field to the Media
object in the NFT metadata responses to indicate the size of the media in bytes. Note that the size
field is not supported by the backend and will be removed in the next version.Changelog
2.0.4
size
field to the Media
object in the NFT metadata responses to indicate the size of the media in bytes.@ethersproject
dependencies to v5.7.0
to support safe
and finalized
blocks.