alchemy-sdk
Advanced tools
Comparing version 2.6.2 to 2.6.3
@@ -9,2 +9,11 @@ # Changelog for Alchemy SDK for JavaScript | ||
## 2.6.3 | ||
### Major Changes | ||
### Minor Changes | ||
- Added support for a `pageKey` and `pageSize` parameter in `NftNamespace.getOwnersforNft` to allow for pagination of the results. | ||
## 2.6.2 | ||
@@ -11,0 +20,0 @@ |
import type { BigNumberish } from '@ethersproject/bignumber'; | ||
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, NftTokenType, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftOptions, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, NftTokenType, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { BaseNft, Nft, NftContract } from './nft'; | ||
@@ -174,5 +174,6 @@ /** | ||
* @param tokenId - Token id of the NFT. | ||
* @param options - Optional parameters to use for the request. | ||
* @beta | ||
*/ | ||
getOwnersForNft(contractAddress: string, tokenId: BigNumberish): Promise<GetOwnersForNftResponse>; | ||
getOwnersForNft(contractAddress: string, tokenId: BigNumberish, options?: GetOwnersForNftOptions): Promise<GetOwnersForNftResponse>; | ||
/** | ||
@@ -179,0 +180,0 @@ * Gets all NFT contracts held by the specified owner address. |
@@ -24,3 +24,3 @@ import { BigNumberish } from '@ethersproject/bignumber'; | ||
export declare function getContractsForOwner(config: AlchemyConfig, owner: string, options?: GetContractsForOwnerOptions, srcMethod?: string): Promise<GetContractsForOwnerResponse>; | ||
export declare function getOwnersForNft(config: AlchemyConfig, contractAddress: string, tokenId: BigNumberish, srcMethod?: string): Promise<GetOwnersForNftResponse>; | ||
export declare function getOwnersForNft(config: AlchemyConfig, contractAddress: string, tokenId: BigNumberish, options?: GetOwnersForContractOptions, srcMethod?: string): Promise<GetOwnersForNftResponse>; | ||
export declare function getMintedNfts(config: AlchemyConfig, owner: string, options?: GetMintedNftsOptions): Promise<TransfersNftResponse>; | ||
@@ -27,0 +27,0 @@ export declare function getTransfersForOwner(config: AlchemyConfig, owner: string, transferType: GetTransfersForOwnerTransferType, options?: GetTransfersForOwnerOptions): Promise<TransfersNftResponse>; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.6.2"; | ||
export declare const VERSION = "2.6.3"; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
var utils = require('./api/utils'); | ||
var index = require('./index-874b1ad1.js'); | ||
var index = require('./index-1837c107.js'); | ||
var bignumber = require('@ethersproject/bignumber'); | ||
@@ -9,0 +9,0 @@ require('axios'); |
import type { BigNumberish } from '@ethersproject/bignumber'; | ||
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, NftTokenType, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftOptions, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, NftTokenType, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { BaseNft, Nft, NftContract } from './nft'; | ||
@@ -174,5 +174,6 @@ /** | ||
* @param tokenId - Token id of the NFT. | ||
* @param options - Optional parameters to use for the request. | ||
* @beta | ||
*/ | ||
getOwnersForNft(contractAddress: string, tokenId: BigNumberish): Promise<GetOwnersForNftResponse>; | ||
getOwnersForNft(contractAddress: string, tokenId: BigNumberish, options?: GetOwnersForNftOptions): Promise<GetOwnersForNftResponse>; | ||
/** | ||
@@ -179,0 +180,0 @@ * Gets all NFT contracts held by the specified owner address. |
@@ -24,3 +24,3 @@ import { BigNumberish } from '@ethersproject/bignumber'; | ||
export declare function getContractsForOwner(config: AlchemyConfig, owner: string, options?: GetContractsForOwnerOptions, srcMethod?: string): Promise<GetContractsForOwnerResponse>; | ||
export declare function getOwnersForNft(config: AlchemyConfig, contractAddress: string, tokenId: BigNumberish, srcMethod?: string): Promise<GetOwnersForNftResponse>; | ||
export declare function getOwnersForNft(config: AlchemyConfig, contractAddress: string, tokenId: BigNumberish, options?: GetOwnersForContractOptions, srcMethod?: string): Promise<GetOwnersForNftResponse>; | ||
export declare function getMintedNfts(config: AlchemyConfig, owner: string, options?: GetMintedNftsOptions): Promise<TransfersNftResponse>; | ||
@@ -27,0 +27,0 @@ export declare function getTransfersForOwner(config: AlchemyConfig, owner: string, transferType: GetTransfersForOwnerTransferType, options?: GetTransfersForOwnerOptions): Promise<TransfersNftResponse>; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.6.2"; | ||
export declare const VERSION = "2.6.3"; |
import type { BigNumberish } from '@ethersproject/bignumber'; | ||
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, NftTokenType, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftOptions, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, NftTokenType, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { BaseNft, Nft, NftContract } from './nft'; | ||
@@ -174,5 +174,6 @@ /** | ||
* @param tokenId - Token id of the NFT. | ||
* @param options - Optional parameters to use for the request. | ||
* @beta | ||
*/ | ||
getOwnersForNft(contractAddress: string, tokenId: BigNumberish): Promise<GetOwnersForNftResponse>; | ||
getOwnersForNft(contractAddress: string, tokenId: BigNumberish, options?: GetOwnersForNftOptions): Promise<GetOwnersForNftResponse>; | ||
/** | ||
@@ -179,0 +180,0 @@ * Gets all NFT contracts held by the specified owner address. |
@@ -24,3 +24,3 @@ import { BigNumberish } from '@ethersproject/bignumber'; | ||
export declare function getContractsForOwner(config: AlchemyConfig, owner: string, options?: GetContractsForOwnerOptions, srcMethod?: string): Promise<GetContractsForOwnerResponse>; | ||
export declare function getOwnersForNft(config: AlchemyConfig, contractAddress: string, tokenId: BigNumberish, srcMethod?: string): Promise<GetOwnersForNftResponse>; | ||
export declare function getOwnersForNft(config: AlchemyConfig, contractAddress: string, tokenId: BigNumberish, options?: GetOwnersForContractOptions, srcMethod?: string): Promise<GetOwnersForNftResponse>; | ||
export declare function getMintedNfts(config: AlchemyConfig, owner: string, options?: GetMintedNftsOptions): Promise<TransfersNftResponse>; | ||
@@ -27,0 +27,0 @@ export declare function getTransfersForOwner(config: AlchemyConfig, owner: string, transferType: GetTransfersForOwnerTransferType, options?: GetTransfersForOwnerOptions): Promise<TransfersNftResponse>; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.6.2"; | ||
export declare const VERSION = "2.6.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-231d6b1f.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-d28b6197.js'; | ||
export { BigNumber } from '@ethersproject/bignumber'; | ||
@@ -5,0 +5,0 @@ import 'axios'; |
import type { BigNumberish } from '@ethersproject/bignumber'; | ||
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, NftTokenType, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftOptions, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, NftTokenType, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { BaseNft, Nft, NftContract } from './nft'; | ||
@@ -174,5 +174,6 @@ /** | ||
* @param tokenId - Token id of the NFT. | ||
* @param options - Optional parameters to use for the request. | ||
* @beta | ||
*/ | ||
getOwnersForNft(contractAddress: string, tokenId: BigNumberish): Promise<GetOwnersForNftResponse>; | ||
getOwnersForNft(contractAddress: string, tokenId: BigNumberish, options?: GetOwnersForNftOptions): Promise<GetOwnersForNftResponse>; | ||
/** | ||
@@ -179,0 +180,0 @@ * Gets all NFT contracts held by the specified owner address. |
@@ -24,3 +24,3 @@ import { BigNumberish } from '@ethersproject/bignumber'; | ||
export declare function getContractsForOwner(config: AlchemyConfig, owner: string, options?: GetContractsForOwnerOptions, srcMethod?: string): Promise<GetContractsForOwnerResponse>; | ||
export declare function getOwnersForNft(config: AlchemyConfig, contractAddress: string, tokenId: BigNumberish, srcMethod?: string): Promise<GetOwnersForNftResponse>; | ||
export declare function getOwnersForNft(config: AlchemyConfig, contractAddress: string, tokenId: BigNumberish, options?: GetOwnersForContractOptions, srcMethod?: string): Promise<GetOwnersForNftResponse>; | ||
export declare function getMintedNfts(config: AlchemyConfig, owner: string, options?: GetMintedNftsOptions): Promise<TransfersNftResponse>; | ||
@@ -27,0 +27,0 @@ export declare function getTransfersForOwner(config: AlchemyConfig, owner: string, transferType: GetTransfersForOwnerTransferType, options?: GetTransfersForOwnerOptions): Promise<TransfersNftResponse>; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.6.2"; | ||
export declare const VERSION = "2.6.3"; |
import type { BigNumberish } from '@ethersproject/bignumber'; | ||
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, NftTokenType, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftOptions, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, NftTokenType, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { BaseNft, Nft, NftContract } from './nft'; | ||
@@ -174,5 +174,6 @@ /** | ||
* @param tokenId - Token id of the NFT. | ||
* @param options - Optional parameters to use for the request. | ||
* @beta | ||
*/ | ||
getOwnersForNft(contractAddress: string, tokenId: BigNumberish): Promise<GetOwnersForNftResponse>; | ||
getOwnersForNft(contractAddress: string, tokenId: BigNumberish, options?: GetOwnersForNftOptions): Promise<GetOwnersForNftResponse>; | ||
/** | ||
@@ -179,0 +180,0 @@ * Gets all NFT contracts held by the specified owner address. |
@@ -24,3 +24,3 @@ import { BigNumberish } from '@ethersproject/bignumber'; | ||
export declare function getContractsForOwner(config: AlchemyConfig, owner: string, options?: GetContractsForOwnerOptions, srcMethod?: string): Promise<GetContractsForOwnerResponse>; | ||
export declare function getOwnersForNft(config: AlchemyConfig, contractAddress: string, tokenId: BigNumberish, srcMethod?: string): Promise<GetOwnersForNftResponse>; | ||
export declare function getOwnersForNft(config: AlchemyConfig, contractAddress: string, tokenId: BigNumberish, options?: GetOwnersForContractOptions, srcMethod?: string): Promise<GetOwnersForNftResponse>; | ||
export declare function getMintedNfts(config: AlchemyConfig, owner: string, options?: GetMintedNftsOptions): Promise<TransfersNftResponse>; | ||
@@ -27,0 +27,0 @@ export declare function getTransfersForOwner(config: AlchemyConfig, owner: string, transferType: GetTransfersForOwnerTransferType, options?: GetTransfersForOwnerOptions): Promise<TransfersNftResponse>; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.6.2"; | ||
export declare const VERSION = "2.6.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-231d6b1f.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-d28b6197.js'; | ||
export { BigNumber } from '@ethersproject/bignumber'; | ||
@@ -5,0 +5,0 @@ import 'axios'; |
import type { BigNumberish } from '@ethersproject/bignumber'; | ||
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, NftTokenType, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftOptions, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, NftTokenType, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { BaseNft, Nft, NftContract } from './nft'; | ||
@@ -174,5 +174,6 @@ /** | ||
* @param tokenId - Token id of the NFT. | ||
* @param options - Optional parameters to use for the request. | ||
* @beta | ||
*/ | ||
getOwnersForNft(contractAddress: string, tokenId: BigNumberish): Promise<GetOwnersForNftResponse>; | ||
getOwnersForNft(contractAddress: string, tokenId: BigNumberish, options?: GetOwnersForNftOptions): Promise<GetOwnersForNftResponse>; | ||
/** | ||
@@ -179,0 +180,0 @@ * Gets all NFT contracts held by the specified owner address. |
@@ -24,3 +24,3 @@ import { BigNumberish } from '@ethersproject/bignumber'; | ||
export declare function getContractsForOwner(config: AlchemyConfig, owner: string, options?: GetContractsForOwnerOptions, srcMethod?: string): Promise<GetContractsForOwnerResponse>; | ||
export declare function getOwnersForNft(config: AlchemyConfig, contractAddress: string, tokenId: BigNumberish, srcMethod?: string): Promise<GetOwnersForNftResponse>; | ||
export declare function getOwnersForNft(config: AlchemyConfig, contractAddress: string, tokenId: BigNumberish, options?: GetOwnersForContractOptions, srcMethod?: string): Promise<GetOwnersForNftResponse>; | ||
export declare function getMintedNfts(config: AlchemyConfig, owner: string, options?: GetMintedNftsOptions): Promise<TransfersNftResponse>; | ||
@@ -27,0 +27,0 @@ export declare function getTransfersForOwner(config: AlchemyConfig, owner: string, transferType: GetTransfersForOwnerTransferType, options?: GetTransfersForOwnerOptions): Promise<TransfersNftResponse>; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.6.2"; | ||
export declare const VERSION = "2.6.3"; |
import type { BigNumberish } from '@ethersproject/bignumber'; | ||
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, NftTokenType, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { GetBaseNftsForContractOptions, GetBaseNftsForOwnerOptions, GetContractsForOwnerOptions, GetContractsForOwnerResponse, GetFloorPriceResponse, GetMintedNftsOptions, GetNftMetadataOptions, GetNftSalesOptions, GetNftSalesOptionsByContractAddress, GetNftSalesResponse, GetNftsForContractOptions, GetNftsForOwnerOptions, GetOwnersForContractOptions, GetOwnersForContractResponse, GetOwnersForContractWithTokenBalancesOptions, GetOwnersForContractWithTokenBalancesResponse, GetOwnersForNftOptions, GetOwnersForNftResponse, GetTransfersForContractOptions, GetTransfersForOwnerOptions, GetTransfersForOwnerTransferType, NftAttributeRarity, NftAttributesResponse, NftContractBaseNftsResponse, NftContractNftsResponse, NftMetadataBatchOptions, NftMetadataBatchToken, NftTokenType, OwnedBaseNft, OwnedBaseNftsResponse, OwnedNft, OwnedNftsResponse, RefreshContractResult, TransfersNftResponse } from '../types/types'; | ||
import { BaseNft, Nft, NftContract } from './nft'; | ||
@@ -174,5 +174,6 @@ /** | ||
* @param tokenId - Token id of the NFT. | ||
* @param options - Optional parameters to use for the request. | ||
* @beta | ||
*/ | ||
getOwnersForNft(contractAddress: string, tokenId: BigNumberish): Promise<GetOwnersForNftResponse>; | ||
getOwnersForNft(contractAddress: string, tokenId: BigNumberish, options?: GetOwnersForNftOptions): Promise<GetOwnersForNftResponse>; | ||
/** | ||
@@ -179,0 +180,0 @@ * Gets all NFT contracts held by the specified owner address. |
@@ -24,3 +24,3 @@ import { BigNumberish } from '@ethersproject/bignumber'; | ||
export declare function getContractsForOwner(config: AlchemyConfig, owner: string, options?: GetContractsForOwnerOptions, srcMethod?: string): Promise<GetContractsForOwnerResponse>; | ||
export declare function getOwnersForNft(config: AlchemyConfig, contractAddress: string, tokenId: BigNumberish, srcMethod?: string): Promise<GetOwnersForNftResponse>; | ||
export declare function getOwnersForNft(config: AlchemyConfig, contractAddress: string, tokenId: BigNumberish, options?: GetOwnersForContractOptions, srcMethod?: string): Promise<GetOwnersForNftResponse>; | ||
export declare function getMintedNfts(config: AlchemyConfig, owner: string, options?: GetMintedNftsOptions): Promise<TransfersNftResponse>; | ||
@@ -27,0 +27,0 @@ export declare function getTransfersForOwner(config: AlchemyConfig, owner: string, transferType: GetTransfersForOwnerTransferType, options?: GetTransfersForOwnerOptions): Promise<TransfersNftResponse>; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.6.2"; | ||
export declare const VERSION = "2.6.3"; |
{ | ||
"name": "alchemy-sdk", | ||
"version": "2.6.2", | ||
"version": "2.6.3", | ||
"description": "Extended Ethers.js SDK for Alchemy APIs", | ||
@@ -5,0 +5,0 @@ "author": "Alchemy", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
3669367
49945