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

@quicknode/sdk

Package Overview
Dependencies
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@quicknode/sdk - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

src/queries/nft/getNFTsByWalletAndContracts/getNFTsByWalletAndContracts.d.ts

2

package.json

@@ -9,3 +9,3 @@ {

"license": "MIT",
"version": "0.4.0",
"version": "0.5.0",
"main": "./src/index.js",

@@ -12,0 +12,0 @@ "module": "./src/index.esm.js",

@@ -196,3 +196,2 @@ ![npm](https://img.shields.io/npm/dm/@quicknode/sdk)

address: '0x60E4d786628Fea6478F785A6d7e704777c86a7c6',
tokenId: '100',
types: ['TRANSFER', 'ORDER'],

@@ -203,2 +202,29 @@ })

### nft.getNFTsByWalletAndContracts
Gets NFTs from specified collections held by a wallet
| Argument | Values | Optional | Description | Example |
| --------- | ---------------- | -------- | ------------------------------- | ---------------------------------------------- |
| address | string | ❌ | Wallet address | 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
| contracts | array of strings | ❌ | NFT contract addresses | ['0xba30e5f9bb24caa003e9f2f0497ad287fdf95623'] |
| first | number | ✅ | Number of results to return | 10 |
| after | string | ✅ | Return results after end cursor | YXJyYXljb25uZWN0aW9uOjUwNQ= |
```ts
import { QuickNodeSDK } from '@quicknode/sdk';
const client = new QuickNodeSDK();
client.nft
.getNFTsByWalletAndContracts({
address: '0x13928eb9a86c8278a45b6ff2935c7730b58ac675',
contracts: [
'0xba30e5f9bb24caa003e9f2f0497ad287fdf95623',
'0xbce3781ae7ca1a5e050bd9c4c77369867ebc307e',
],
})
.then((response) => console.log(response));
```
## Pagination

@@ -205,0 +231,0 @@

@@ -10,2 +10,3 @@ import { ApolloQueryResult } from '@apollo/client';

import { ContractEventLogQueryVariables } from './getContractEventLogs/getContractEventLogs';
import { NFTWalletAndContractQueryVariables } from './getNFTsByWalletAndContracts/getNFTsByWalletAndContracts';
import { ContractNFTsQueryResponse, WalletNFTsQueryResponse, CollectionDetailsQueryResponse, EventLogsQueryResponse, NFTDetailsQueryResponse, ContractEventLogsQueryResponse } from './sharedTypes';

@@ -22,2 +23,3 @@ export declare class NFTQueries {

getContractEventLogs(variables: ContractEventLogQueryVariables): Promise<ApolloQueryResult<ContractEventLogsQueryResponse>>;
getNFTsByWalletAndContracts(variables: NFTWalletAndContractQueryVariables): Promise<ApolloQueryResult<WalletNFTsQueryResponse>>;
}

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