Get Token Info

Retrieves the ERC-20 Token Data from contract address

GetTokenInfo can fetch data such as the symbol, name, decimals, and the coin type itself. This is particularly useful for applications needing to display token details.

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

GraphQL Query:

The graphQL query returns id, contractAddress, Name, Symbol and Decimals

{
  getTokenInfos(where: {contractAddress:"0x00142eebe0bc35ecf94c221e85462bd281a1eb19"}){
    id
    contractAddress
    name
    symbol
    decimals
  }
}

Last updated