GraphQL
This is our preferred option as it is probably the most flexible option and allows an easy schema exploration.

How to query data?

Network
Endpoint
mainnet
https://interop-mainnet.hasura.app/v1/graphql
testnet
https://interop-testnet.hasura.app/v1/graphql
Test on Mintbase GraphQL Playground: Testnet: https://graphql-playground-mintbase.vercel.app/ Mainnet: https://graphql-playground-mintbase.vercel.app/?env=mainnet Test on Hasura GraphiQL Playground:
  1. 2.
    Enter one of the above endpoints into the input.
  2. 3.
    Click around the tree on the left side, building queries can be done just by clicking around.
The queries and relationships are extensible, we suggest just clicking around the tree to make the queries and it will become easy over time.
Always keep in mind our data model and schema.

Query Formatting

Find all the different entities and parameters for interacting with the API.

Core Entities

  • nft_tokens: Gets data on single tokens
  • mb_views_nft_metadata_unburned: The token type (metadata wrapper)
  • nft_metadata: Indexed metadata
  • nft_contracts: Stores/contracts deployed
  • nft_listings: Marketplace listings
  • offers: Offers made to market listings
  • mb_store_minters: Allowed mintings accounts
  • nft_earnings: Historical earnings per account
​

Aggregated Entities

...

Query Parameters

...

Pagination Parameters

offset: position where it should start the results ex: offset : 12 it will render results from 12 >

Query Examples

GetStoreNfts

GetStoreDataById

GetRoyaltiesInfo
GetTokensSplitbyMetadataId

Demo

Copy link
On this page
How to query data?
Query Formatting
Query Examples
Demo