0.0.16 • Published 2 years ago

@manifoldxyz/manifold-data-client v0.0.16

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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)
})
0.0.10

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.15

2 years ago

0.0.9

3 years ago

0.0.16

2 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago