alchemy-sdk
Advanced tools
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.Changelog
2.2.5
NftNamespace.getContractsForOwner()
to fetch all NFT contracts for a specified owner address.NftNamespace.getNftsForOwner()
where the openSea
metadata was not included in the returned NFT.NftExcludeFilters
type as deprecated. Please use NftFilters
instead.orderBy
param to NftNamespace.getNftsForOwner()
and NftNamespace.getContractsForOwner()
.Changelog
2.2.4
newHeads
subscriptions would error and crash when reconnecting to the websocket.toUtf8Bytes
and toUtf8String
in Utils
.Changelog
2.2.3
AlchemySettings.batchRequests
property.