alchemy-sdk
Advanced tools
Comparing version 2.8.2 to 2.8.3
@@ -9,2 +9,12 @@ # Changelog for Alchemy SDK for JavaScript | ||
## Unreleased | ||
### Major Changes | ||
### 2.8.3 | ||
- Fixed a bug with `NotifyNamespace` when creating webhooks on ETH_SEPOLIA, OPT_GOERLI, and ARB_GOERLI. | ||
- Fixed a bug with `Wallet.populateTransaction()` where the method would never resolve. | ||
- Fixed a bug with `NftNamespace.getMintedNfts()` and `NftNamespace.getTransfersForOwner()` where the method would always throw an error for certain addresses (#318). | ||
## 2.8.2 | ||
@@ -11,0 +21,0 @@ |
@@ -64,4 +64,14 @@ import { BlockTag, FeeData, Provider, TransactionRequest, TransactionResponse } from '@ethersproject/abstract-provider'; | ||
/** | ||
* Populates ALL keys for a transaction and checks that `from` matches this | ||
* `Signer`. Resolves ENS names and populates fields like `gasPrice`, `gasLimit`, | ||
* `nonce`, and `chainId` if they are not provided. | ||
* | ||
* @param transaction The transaction to populate. | ||
* @override | ||
*/ | ||
populateTransaction(transaction: Deferrable<TransactionRequest>): Promise<TransactionRequest>; | ||
/** | ||
* Populates all fields in a transaction, signs it and sends it to the network | ||
* | ||
* @param transaction The transaction to send. | ||
* @override | ||
@@ -68,0 +78,0 @@ */ |
import { BigNumberish } from '@ethersproject/bignumber'; | ||
import { AlchemyConfig } from '../api/alchemy-config'; | ||
import { BaseNft, Nft, NftContract } from '../api/nft'; | ||
import { GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { AssetTransfersResponse, GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
/** | ||
@@ -41,1 +41,8 @@ * This file contains the underlying implementations for exposed API surface in | ||
export declare function refreshContract(config: AlchemyConfig, contractAddress: string, srcMethod?: string): Promise<RefreshContractResult>; | ||
/** | ||
* Given an AssetTransfersResponse, fetches the NFTs associated with the | ||
* transfers and collates them with transfer metadata. | ||
* | ||
* VISIBLE FOR TESTING | ||
*/ | ||
export declare function getNftsForTransfers(config: AlchemyConfig, response: AssetTransfersResponse): Promise<TransfersNftResponse>; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.8.2"; | ||
export declare const VERSION = "2.8.3"; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
var utils = require('./api/utils'); | ||
var index = require('./index-25500d2e.js'); | ||
var index = require('./index-f2532ba9.js'); | ||
var bignumber = require('@ethersproject/bignumber'); | ||
@@ -9,0 +9,0 @@ require('axios'); |
@@ -64,4 +64,14 @@ import { BlockTag, FeeData, Provider, TransactionRequest, TransactionResponse } from '@ethersproject/abstract-provider'; | ||
/** | ||
* Populates ALL keys for a transaction and checks that `from` matches this | ||
* `Signer`. Resolves ENS names and populates fields like `gasPrice`, `gasLimit`, | ||
* `nonce`, and `chainId` if they are not provided. | ||
* | ||
* @param transaction The transaction to populate. | ||
* @override | ||
*/ | ||
populateTransaction(transaction: Deferrable<TransactionRequest>): Promise<TransactionRequest>; | ||
/** | ||
* Populates all fields in a transaction, signs it and sends it to the network | ||
* | ||
* @param transaction The transaction to send. | ||
* @override | ||
@@ -68,0 +78,0 @@ */ |
import { BigNumberish } from '@ethersproject/bignumber'; | ||
import { AlchemyConfig } from '../api/alchemy-config'; | ||
import { BaseNft, Nft, NftContract } from '../api/nft'; | ||
import { GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { AssetTransfersResponse, GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
/** | ||
@@ -41,1 +41,8 @@ * This file contains the underlying implementations for exposed API surface in | ||
export declare function refreshContract(config: AlchemyConfig, contractAddress: string, srcMethod?: string): Promise<RefreshContractResult>; | ||
/** | ||
* Given an AssetTransfersResponse, fetches the NFTs associated with the | ||
* transfers and collates them with transfer metadata. | ||
* | ||
* VISIBLE FOR TESTING | ||
*/ | ||
export declare function getNftsForTransfers(config: AlchemyConfig, response: AssetTransfersResponse): Promise<TransfersNftResponse>; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.8.2"; | ||
export declare const VERSION = "2.8.3"; |
@@ -64,4 +64,14 @@ import { BlockTag, FeeData, Provider, TransactionRequest, TransactionResponse } from '@ethersproject/abstract-provider'; | ||
/** | ||
* Populates ALL keys for a transaction and checks that `from` matches this | ||
* `Signer`. Resolves ENS names and populates fields like `gasPrice`, `gasLimit`, | ||
* `nonce`, and `chainId` if they are not provided. | ||
* | ||
* @param transaction The transaction to populate. | ||
* @override | ||
*/ | ||
populateTransaction(transaction: Deferrable<TransactionRequest>): Promise<TransactionRequest>; | ||
/** | ||
* Populates all fields in a transaction, signs it and sends it to the network | ||
* | ||
* @param transaction The transaction to send. | ||
* @override | ||
@@ -68,0 +78,0 @@ */ |
import { BigNumberish } from '@ethersproject/bignumber'; | ||
import { AlchemyConfig } from '../api/alchemy-config'; | ||
import { BaseNft, Nft, NftContract } from '../api/nft'; | ||
import { GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { AssetTransfersResponse, GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
/** | ||
@@ -41,1 +41,8 @@ * This file contains the underlying implementations for exposed API surface in | ||
export declare function refreshContract(config: AlchemyConfig, contractAddress: string, srcMethod?: string): Promise<RefreshContractResult>; | ||
/** | ||
* Given an AssetTransfersResponse, fetches the NFTs associated with the | ||
* transfers and collates them with transfer metadata. | ||
* | ||
* VISIBLE FOR TESTING | ||
*/ | ||
export declare function getNftsForTransfers(config: AlchemyConfig, response: AssetTransfersResponse): Promise<TransfersNftResponse>; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.8.2"; | ||
export declare const VERSION = "2.8.3"; |
import * as utils from './api/utils'; | ||
export { utils as Utils }; | ||
export { m as Alchemy, j as AlchemySubscription, r as AssetTransfersCategory, u as AssetTransfersOrder, X as CommitmentLevel, o as Contract, p as ContractFactory, M as DebugCallType, Y as DebugTracerType, L as DecodingAuthority, P as GasOptimizedTransactionStatus, G as GetTransfersForOwnerTransferType, N as Network, y as NftExcludeFilters, z as NftFilters, B as NftOrdering, F as NftSaleMarketplace, H as NftSaleTakerType, x as NftSpamClassification, w as NftTokenType, O as OpenSeaSafelistRequestStatus, R as RefreshState, J as SimulateAssetType, K as SimulateChangeType, S as SortingOrder, T as TokenBalanceType, W as Wallet, U as WebhookType, Q as WebhookVersion, f as fromHex, q as isHex, s as setLogLevel, t as toHex } from './index-1cba331f.js'; | ||
export { m as Alchemy, j as AlchemySubscription, r as AssetTransfersCategory, u as AssetTransfersOrder, X as CommitmentLevel, o as Contract, p as ContractFactory, M as DebugCallType, Y as DebugTracerType, L as DecodingAuthority, P as GasOptimizedTransactionStatus, G as GetTransfersForOwnerTransferType, N as Network, y as NftExcludeFilters, z as NftFilters, B as NftOrdering, F as NftSaleMarketplace, H as NftSaleTakerType, x as NftSpamClassification, w as NftTokenType, O as OpenSeaSafelistRequestStatus, R as RefreshState, J as SimulateAssetType, K as SimulateChangeType, S as SortingOrder, T as TokenBalanceType, W as Wallet, U as WebhookType, Q as WebhookVersion, f as fromHex, q as isHex, s as setLogLevel, t as toHex } from './index-596122b1.js'; | ||
export { BigNumber } from '@ethersproject/bignumber'; | ||
@@ -5,0 +5,0 @@ import 'axios'; |
@@ -64,4 +64,14 @@ import { BlockTag, FeeData, Provider, TransactionRequest, TransactionResponse } from '@ethersproject/abstract-provider'; | ||
/** | ||
* Populates ALL keys for a transaction and checks that `from` matches this | ||
* `Signer`. Resolves ENS names and populates fields like `gasPrice`, `gasLimit`, | ||
* `nonce`, and `chainId` if they are not provided. | ||
* | ||
* @param transaction The transaction to populate. | ||
* @override | ||
*/ | ||
populateTransaction(transaction: Deferrable<TransactionRequest>): Promise<TransactionRequest>; | ||
/** | ||
* Populates all fields in a transaction, signs it and sends it to the network | ||
* | ||
* @param transaction The transaction to send. | ||
* @override | ||
@@ -68,0 +78,0 @@ */ |
import { BigNumberish } from '@ethersproject/bignumber'; | ||
import { AlchemyConfig } from '../api/alchemy-config'; | ||
import { BaseNft, Nft, NftContract } from '../api/nft'; | ||
import { GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { AssetTransfersResponse, GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
/** | ||
@@ -41,1 +41,8 @@ * This file contains the underlying implementations for exposed API surface in | ||
export declare function refreshContract(config: AlchemyConfig, contractAddress: string, srcMethod?: string): Promise<RefreshContractResult>; | ||
/** | ||
* Given an AssetTransfersResponse, fetches the NFTs associated with the | ||
* transfers and collates them with transfer metadata. | ||
* | ||
* VISIBLE FOR TESTING | ||
*/ | ||
export declare function getNftsForTransfers(config: AlchemyConfig, response: AssetTransfersResponse): Promise<TransfersNftResponse>; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.8.2"; | ||
export declare const VERSION = "2.8.3"; |
@@ -64,4 +64,14 @@ import { BlockTag, FeeData, Provider, TransactionRequest, TransactionResponse } from '@ethersproject/abstract-provider'; | ||
/** | ||
* Populates ALL keys for a transaction and checks that `from` matches this | ||
* `Signer`. Resolves ENS names and populates fields like `gasPrice`, `gasLimit`, | ||
* `nonce`, and `chainId` if they are not provided. | ||
* | ||
* @param transaction The transaction to populate. | ||
* @override | ||
*/ | ||
populateTransaction(transaction: Deferrable<TransactionRequest>): Promise<TransactionRequest>; | ||
/** | ||
* Populates all fields in a transaction, signs it and sends it to the network | ||
* | ||
* @param transaction The transaction to send. | ||
* @override | ||
@@ -68,0 +78,0 @@ */ |
import { BigNumberish } from '@ethersproject/bignumber'; | ||
import { AlchemyConfig } from '../api/alchemy-config'; | ||
import { BaseNft, Nft, NftContract } from '../api/nft'; | ||
import { GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { AssetTransfersResponse, GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
/** | ||
@@ -41,1 +41,8 @@ * This file contains the underlying implementations for exposed API surface in | ||
export declare function refreshContract(config: AlchemyConfig, contractAddress: string, srcMethod?: string): Promise<RefreshContractResult>; | ||
/** | ||
* Given an AssetTransfersResponse, fetches the NFTs associated with the | ||
* transfers and collates them with transfer metadata. | ||
* | ||
* VISIBLE FOR TESTING | ||
*/ | ||
export declare function getNftsForTransfers(config: AlchemyConfig, response: AssetTransfersResponse): Promise<TransfersNftResponse>; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.8.2"; | ||
export declare const VERSION = "2.8.3"; |
import * as utils from './api/utils'; | ||
export { utils as Utils }; | ||
export { m as Alchemy, j as AlchemySubscription, r as AssetTransfersCategory, u as AssetTransfersOrder, X as CommitmentLevel, o as Contract, p as ContractFactory, M as DebugCallType, Y as DebugTracerType, L as DecodingAuthority, P as GasOptimizedTransactionStatus, G as GetTransfersForOwnerTransferType, N as Network, y as NftExcludeFilters, z as NftFilters, B as NftOrdering, F as NftSaleMarketplace, H as NftSaleTakerType, x as NftSpamClassification, w as NftTokenType, O as OpenSeaSafelistRequestStatus, R as RefreshState, J as SimulateAssetType, K as SimulateChangeType, S as SortingOrder, T as TokenBalanceType, W as Wallet, U as WebhookType, Q as WebhookVersion, f as fromHex, q as isHex, s as setLogLevel, t as toHex } from './index-1cba331f.js'; | ||
export { m as Alchemy, j as AlchemySubscription, r as AssetTransfersCategory, u as AssetTransfersOrder, X as CommitmentLevel, o as Contract, p as ContractFactory, M as DebugCallType, Y as DebugTracerType, L as DecodingAuthority, P as GasOptimizedTransactionStatus, G as GetTransfersForOwnerTransferType, N as Network, y as NftExcludeFilters, z as NftFilters, B as NftOrdering, F as NftSaleMarketplace, H as NftSaleTakerType, x as NftSpamClassification, w as NftTokenType, O as OpenSeaSafelistRequestStatus, R as RefreshState, J as SimulateAssetType, K as SimulateChangeType, S as SortingOrder, T as TokenBalanceType, W as Wallet, U as WebhookType, Q as WebhookVersion, f as fromHex, q as isHex, s as setLogLevel, t as toHex } from './index-596122b1.js'; | ||
export { BigNumber } from '@ethersproject/bignumber'; | ||
@@ -5,0 +5,0 @@ import 'axios'; |
@@ -64,4 +64,14 @@ import { BlockTag, FeeData, Provider, TransactionRequest, TransactionResponse } from '@ethersproject/abstract-provider'; | ||
/** | ||
* Populates ALL keys for a transaction and checks that `from` matches this | ||
* `Signer`. Resolves ENS names and populates fields like `gasPrice`, `gasLimit`, | ||
* `nonce`, and `chainId` if they are not provided. | ||
* | ||
* @param transaction The transaction to populate. | ||
* @override | ||
*/ | ||
populateTransaction(transaction: Deferrable<TransactionRequest>): Promise<TransactionRequest>; | ||
/** | ||
* Populates all fields in a transaction, signs it and sends it to the network | ||
* | ||
* @param transaction The transaction to send. | ||
* @override | ||
@@ -68,0 +78,0 @@ */ |
import { BigNumberish } from '@ethersproject/bignumber'; | ||
import { AlchemyConfig } from '../api/alchemy-config'; | ||
import { BaseNft, Nft, NftContract } from '../api/nft'; | ||
import { GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { AssetTransfersResponse, GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
/** | ||
@@ -41,1 +41,8 @@ * This file contains the underlying implementations for exposed API surface in | ||
export declare function refreshContract(config: AlchemyConfig, contractAddress: string, srcMethod?: string): Promise<RefreshContractResult>; | ||
/** | ||
* Given an AssetTransfersResponse, fetches the NFTs associated with the | ||
* transfers and collates them with transfer metadata. | ||
* | ||
* VISIBLE FOR TESTING | ||
*/ | ||
export declare function getNftsForTransfers(config: AlchemyConfig, response: AssetTransfersResponse): Promise<TransfersNftResponse>; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.8.2"; | ||
export declare const VERSION = "2.8.3"; |
@@ -64,4 +64,14 @@ import { BlockTag, FeeData, Provider, TransactionRequest, TransactionResponse } from '@ethersproject/abstract-provider'; | ||
/** | ||
* Populates ALL keys for a transaction and checks that `from` matches this | ||
* `Signer`. Resolves ENS names and populates fields like `gasPrice`, `gasLimit`, | ||
* `nonce`, and `chainId` if they are not provided. | ||
* | ||
* @param transaction The transaction to populate. | ||
* @override | ||
*/ | ||
populateTransaction(transaction: Deferrable<TransactionRequest>): Promise<TransactionRequest>; | ||
/** | ||
* Populates all fields in a transaction, signs it and sends it to the network | ||
* | ||
* @param transaction The transaction to send. | ||
* @override | ||
@@ -68,0 +78,0 @@ */ |
import { BigNumberish } from '@ethersproject/bignumber'; | ||
import { AlchemyConfig } from '../api/alchemy-config'; | ||
import { BaseNft, Nft, NftContract } from '../api/nft'; | ||
import { GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { AssetTransfersResponse, GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
/** | ||
@@ -41,1 +41,8 @@ * This file contains the underlying implementations for exposed API surface in | ||
export declare function refreshContract(config: AlchemyConfig, contractAddress: string, srcMethod?: string): Promise<RefreshContractResult>; | ||
/** | ||
* Given an AssetTransfersResponse, fetches the NFTs associated with the | ||
* transfers and collates them with transfer metadata. | ||
* | ||
* VISIBLE FOR TESTING | ||
*/ | ||
export declare function getNftsForTransfers(config: AlchemyConfig, response: AssetTransfersResponse): Promise<TransfersNftResponse>; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.8.2"; | ||
export declare const VERSION = "2.8.3"; |
{ | ||
"name": "alchemy-sdk", | ||
"version": "2.8.2", | ||
"version": "2.8.3", | ||
"description": "Extended Ethers.js SDK for Alchemy APIs", | ||
@@ -5,0 +5,0 @@ "author": "Alchemy", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3735004
50810