@quicknode/sdk
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -9,3 +9,3 @@ { | ||
"license": "MIT", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"main": "./src/index.js", | ||
@@ -12,0 +12,0 @@ "module": "./src/index.esm.js", |
@@ -114,2 +114,20 @@ ![npm](https://img.shields.io/npm/dm/@quicknode/sdk) | ||
### nft.getCollectionDetails | ||
| Argument | Values | Optional | Description | Example | | ||
| -------- | ------ | -------- | ----------------------- | ------------------------------------------ | | ||
| address | string | ❌ | Contract address of NFT | 0x2106C00Ac7dA0A3430aE667879139E832307AeAa | | ||
```ts | ||
import { QuickNodeSDK } from '@quicknode/sdk'; | ||
const client = new QuickNodeSDK(); | ||
client.nft | ||
.getCollectionDetails({ | ||
address: '0x2106C00Ac7dA0A3430aE667879139E832307AeAa', | ||
}) | ||
.then((response) => console.log(response)); | ||
``` | ||
## Pagination | ||
@@ -116,0 +134,0 @@ |
@@ -6,3 +6,4 @@ import { ApolloQueryResult } from '@apollo/client'; | ||
import { ContractAddressNFTsQueryVariables } from './getNFTsByContractAddress/getNFTsByContractAddress'; | ||
import { ContractNFTsQueryResponse, WalletNFTsQueryResponse } from './sharedTypes'; | ||
import { CollectionDetailsQueryVariables } from './getCollectionDetails/getCollectionDetails'; | ||
import { ContractNFTsQueryResponse, WalletNFTsQueryResponse, CollectionDetailsQueryResponse } from './sharedTypes'; | ||
export declare class NFTQueries { | ||
@@ -14,2 +15,3 @@ private client; | ||
getNFTsByContractAddress(variables: ContractAddressNFTsQueryVariables): Promise<ApolloQueryResult<ContractNFTsQueryResponse>>; | ||
getCollectionDetails(variables: CollectionDetailsQueryVariables): Promise<ApolloQueryResult<CollectionDetailsQueryResponse>>; | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
662168
16
16098
175
8