API Methods

Installing

npm install @mintbase-js/data

Using Data APIs

Currently, these wrappers are methods for the GraphQL API. They are still in beta and may change at anytime.

methods

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

ownerId: string

get stores owned by owner id

-

get near price in usd

name: string

check if store name already exists

`contractAddress: string

string[]`

`contractAddress: string

string[], showOnlyListed?: boolean, pagination?: {limit: number, offset:number}`

metadataId: string

get metadata by metadataId

contractId: string, filters: AttributesFilters

get tokens of a certain contract and filters

contractId: string

get attributes of a certain contract

contractId: string, attributeType: string, attributeValue: string

get attribute rarity of a certain contract, attribute type and attribute value

Last updated