Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@manifoldxyz/manifold-data-client

Package Overview
Dependencies
Maintainers
13
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@manifoldxyz/manifold-data-client

This client will help you query Manifold Data endpoints.

unpublished
latest
Source
npmnpm
Version
0.0.16
Version published
Maintainers
13
Created
Source

Manifold API Data Client

This client will help you query Manifold Data endpoints.

Install

> yarn add @manifoldxyz/manifold-data-client

Initialize

import ManifoldClient from '@manifoldxyz/manifold-data-client'

const manifoldClient = new ManifoldClient({ token: token })

Examples

APIs

getNFT

manifoldClient.getNFT({
  contractAddress: '0x2aD78A52F67c6A23015FeC9ce73Da3A1247aDc9d',
  tokenId: 1
}).then((data) => {
    console.log(data)
})

getOwnersOfNFT

manifoldClient.getOwnersOfNFT({
  contractAddress: '0x232a68a51d6e07357ae025d2a459c16077327102',
  tokenId: 1
}).then((data) => {
    console.log(data)
})

getNFTsOfOwner

manifoldClient.getNFTsOfOwner().then((data) => {
    console.log(data)
})

getFilteredNFTsOfOwner

manifoldClient.getFilteredNFTsOfOwner({
  filters: [
    {
      contractAddress: '0x64931f06d3266049bf0195346973762e6996d764'
    }
  ]
}).then((data) => {
    console.log(data)
})

getAddress

manifoldClient.getAddress().then((data) => {
    console.log(data)
})

FAQs

Package last updated on 14 Dec 2021

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