Socket
Socket
Sign inDemoInstall

@manifoldxyz/manifold-data-client

Package Overview
Dependencies
9
Maintainers
13
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @manifoldxyz/manifold-data-client

This client will help you query Manifold Data endpoints.


Version published
Maintainers
13
Created

Readme

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

Last updated on 14 Dec 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc