alchemy-sdk
Advanced tools
Changelog
2.0.3
pageSize
parameter in GetNftsForOwnerOptions
to specify the number of NFTs fetched when using alchemy.nft.getNftsForOwner()
.Wallet
class.Network.ARB_GOERLI
enum.Network.ASTAR_MAINNET
enum.CoreNamespace.getAssetTransfers()
for when the withMetadata
param is true.tokenUriTimeoutInMs
parameter on getNftsForOwner()
, getNftMetadata()
, and getNftsForContract()
.Changelog
2.0.2
transact
namespace for functionality relating to sending transactions. This includes the Flashbots methods sendPrivateTransaction
and cancelPrivateTransaction
.TOKEN
enum from AssetTransfersCategory
.Network.OPT_GOERLI
enum.pageSize
parameter in GetNftsForContractOptions
to specify the number of NFTs fetched when using alchemy.nft.getNftsForContract
.withMetadata
typing to AssetTransfersResponse
.Changelog
2.0.1
url
setting to AlchemySettings
to allow specifying a custom hardcoded URL to send all requests to.Changelog
2.0.0
@alch/alchemy-sdk
to alchemy-sdk
for convenience. New command to install is npm install alchemy-sdk
initializeAlchemy(settings)
is now new Alchemy(settings)
core
, nft
, and ws
. All Ethers.js provider methods and Alchemy Enhanced APIs (other than NFT) are under core
.getNftsByOwner(alchemy, 'vitalik.eth')
, now methods are called using alchemy.nft.getNftsByOwner('vitalik.eth')
alchemy.core
alchemy.ws
alchemy.config
.alchemy.config.getProvider()
as a promise to reduce bundle size.alchemy.config.getWebSocketProvider()
as a promise to reduce bundle size.Contract
: for instance, getNftsForCollection
is now getNftsForContract
.