Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alchemy-sdk

Package Overview
Dependencies
Maintainers
2
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alchemy-sdk - npm Package Compare versions

Comparing version 2.6.2 to 2.6.3

dist/cjs/alchemy-provider-39f24ce4.js

9

CHANGELOG.md

@@ -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 @@

5

dist/cjs/api/src/api/nft-namespace.d.ts
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.

2

dist/cjs/api/src/internal/nft-api.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc