alchemy-sdk
Advanced tools
Changelog
2.6.2
Changelog
2.6.1
title
field to ContractForOwner
to represent the title of the token held by the owner.media
field in ContractForOwner
was a Media
object rather than a Media[]
array.Network.ETH_SEPOLIA
enum.Changelog
2.6.0
NftMetadataUpdateWebhook
to be used with the NotifyNamespace
. This webhook tracks all ERC721 and ERC1155 token metadata updates.Changelog
2.5.0
TransactNamespace.simulateAssetChangesBundle()
to simulate a list of transactions in sequence and return a list of asset changes.TransactNamespace.simulateExecutionBundle()
to simulate a list of transactions in sequence and return a list of decoded logs and traces.NftNamespace.getContractMetadataBatch()
to get the metadata associated with multiple NFT contracts in a single request.pageSize
parameter to the NftNamespace.getContractsForOwner()
method.Changelog
2.4.3
gas
field in the DebugTransaction
interface to specify the gas provided for a transaction execution.NftNamespace.getMintedNfts()
, NftNamespace.getTransfersForOwner()
, and NftNamespace.getTransfersForContract()
where the method would incorrectly error if the specified address had no transfers.BigNumber
ethers export. You can access this by importing BigNumber
along with the other exports in the package.Changelog
2.4.2
CoreNamespace.getTokensForOwner()
method to get all the token balances and token metadata for a given address.wyvern
and cryptopunks
marketplaces in the NftSaleMarketplace
enum to the NftNamespace.getNftSales()
method.blockHash
field to the OwnedNftsResponse
returned by NftNamespace.getNftsForOwner()
to track the block hash that the request was based on.Changelog
2.4.1
NftNamespace.getTransfersForOwner()
method to get all NFT transfers to or from a provided owner address.NftNamespace.getTransfersForContract()
method to all the NFT transfers for a provided NFT contract address.GetMintedNftsResponse
interface in favor of the TransfersNftResponse
. The TransfersNftResponse
contains the same properties as the GetMintedNftsResponse
and includes additional fields about the transfer.Changelog
2.4.0
TransactNamespace.simulateAssetChanges()
to simulate a transaction and return a list of asset changes.TransactNamespace.simulateExecution()
to simulate a transaction and return a list of decoded logs and traces.Changelog
2.3.1
null
tokenId
when using NFT Webhook Filters, which allows you to listen to all token ids in a collection.NftNamespace.getMintedNfts()
to fetch all the NFTs an owner address minted, optionally filtered by a set of specific NFT contracts.EventFilter
with multiple addresses to the CoreNamespace.getLogs()
method.protocolFee
was not included in the response for NftNamespace.getNftSales()
. Deprecated the existing marketplaceFee
property in favor of the new protocolFee
property.Changelog
2.3.0
DebugNamespace
to the top-level Alchemy
object. The DebugNamespace
is used to replay and inspect transactions and mined blocks in greater detail.tokenUriTimeoutInMs
option to NftNamespace.getNftsForContract()
to specify the timeout duration for fetching an NFT's underlying metadata.AlchemySubscriptions.PENDING_TRANSACTIONS
with a string array input would throw an error (#222).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.requestTimeout
option in the AlchemySettings
object to configure a timeout for NftNamespace
and NotifyNamespace
methods. Thanks @Abbaskt!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.