API Methods
npm install @mintbase-js/data
package needed:
npm install --save-dev isomorphic-unfetch
Currently, these wrappers are methods for the GraphQL API. They are still in beta and may change at anytime.
method name | params | description |
---|---|---|
metadataId: string | get all attributes from a specific metadataId | |
ownerId: string,contractAddress: string, pagination: {limit: number, offset:number} | get all nfts from a single store | |
ownerId: string,{limit: number, offset:number} | get all tokens/nfts from a owner | |
tokenId: string, contractAddress: string | get token data by id of certain contract | |
metadataId: string | get token listings from metadata id | |
metadataId: string, ownedBy: string | get token by status on metadataId, and owner | |
tokenId: string, contractAddress: string | get token owner by token id and certain contract | |
tokenId: string, contractAddress: string, pagination?: {limit: number, offset:number} | get token provenance by token id and certain contract | |
metadataId: string, pagination?: {limit: number, offset:number} | get token owners by metadata id | |