πŸ“‡Indexer

There are main no-code components to indexing with the Movement on-chain data.

Most applications require an indexer to efficiently query for on-chain state as the Movement Node API provides only a basic, stable API and does not support data shaping required for rich user experiences. The LYNC Indexer on Movement processes raw blockchain data for app-specific needs, enabling low-latency and enhanced experiences for end-user applications.

Here’s an example of how you can query for the Current Coin Balances of an account. More usage examples can be found in example queries.

Get an NFT Data

Base URL: https://mevm-devnet.lync.world/subgraphs/name/mevm

POST /getNftBalances

GraphQL Query:

The graphQL query is it fetch all the NFTs and it's data (including ERC-721 and ERC-1155)

{
  getNftBalances(first:100) {
    id
    owner
    amount
    nft {
      id
      contractAddress
      name
      symbol
    }
  }
}

Last updated