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

@quicknode/sdk

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@quicknode/sdk

![npm](https://img.shields.io/npm/dm/@quicknode/sdk) ![npm](https://img.shields.io/npm/v/@quicknode/sdk?color=g) ![Maintenance](https://img.shields.io/maintenance/yes/2022?color=g) ![NPM](https://img.shields.io/npm/l/@quicknode/sdk?color=g) ![GitHub issue

  • 0.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
708
increased by36.15%
Maintainers
3
Weekly downloads
 
Created
Source

npm npm Maintenance NPM GitHub issues Discord

QuickNode SDK

Currently has support for getting started with Icy Tools GraphQL API in a blink!

Quick Start

import { QuickNodeSDK } from '@quicknode/sdk';

const client = new QuickNodeSDK();

client.nft
  .getNFTsByWalletENS({
    ensName: 'vitalik.eth',
    first: 5,
  })
  .then((response) => console.log(response));

Full example implementation here.

Providing a config object to the client

:warning: This client (and the underlying API) can be used without an icyApiKey, but its usage will be heavily rate limited, intended for trial and development purposes only.

import { QuickNodeSDK } from '@quicknode/sdk';

const client = new QuickNodeSDK({
  icyApiKey: 'my-api-key', // which is obtained by signing up on https://developers.icy.tools/
});

Client config API

PropertyValuesExample
icyApiKeystring1c1t00ls-4p10-k3y0-lu21-43405e3310

Methods

nft.getNFTsByWalletENS

ArgumentValuesOptionalExample
ensNamestringvitalik.eth
firstnumber10
afterstringYXJyYXljb25uZWN0aW9uOjUwNQ==
import { QuickNodeSDK } from '@quicknode/sdk';

const client = new QuickNodeSDK();

client.nft
  .getNFTsByWalletENS({
    ensName: 'vitalik.eth',
    first: 5,
    after: 'YXJyYXljb25uZWN0aW9uOjUwNQ==',
  })
  .then((response) => console.log(response));

nft.getNFTsByWalletAddress

ArgumentValuesOptionalExample
addressstring0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
firstnumber10
afterstringYXJyYXljb25uZWN0aW9uOjUwNQ==
import { QuickNodeSDK } from '@quicknode/sdk';

const client = new QuickNodeSDK();

client.nft
  .getNFTsByWalletAddress({
    address: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045',
    first: 5,
    after: 'YXJyYXljb25uZWN0aW9uOjUwNQ==',
  })
  .then((response) => console.log(response));

Contributing corner

Building

Run nx build libs-api-sdk to build the library.

Running unit tests

Run nx test libs-api-sdk to execute the unit tests via Jest.

Running lint

Run nx lint libs-api-sdk to execute the lint via ESLint.

FAQs

Package last updated on 23 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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