Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template id detection #705

Merged
merged 4 commits into from Aug 15, 2023
Merged

Template id detection #705

merged 4 commits into from Aug 15, 2023

Conversation

alexcos20
Copy link
Member

@alexcos20 alexcos20 commented Jul 29, 2023

Closes #704

Query:

query{
  erc20Templates{
    id
    templateId
  }
  erc721Templates{
    id
    templateId
  }
  nfts{
    id
    template
  }
  tokens{	
    id
    templateId
  }
}

Response:

{
  "data": {
    "erc20Templates": [
      {
        "id": "0x91eb42b164664cb28a09b0cf9651b404ee105afa",
        "templateId": "1"
      },
      {
        "id": "0x9c2a015129969c98e9a5bcbeb61a5f907ff5b629",
        "templateId": "2"
      }
    ],
    "erc721Templates": [
      {
        "id": "0x611f28ef25d778afc5a0034aea94297e2c215a42",
        "templateId": "1"
      }
    ],
    "nfts": [
      {
        "id": "0x0c5d2eaa095f4db9ea5881680a47f9f76007ea21",
        "template": "0x611f28ef25d778afc5a0034aea94297e2c215a42"
      },
      {
        "id": "0x1133ec73a537f5da8092f72b3056d1c7be680add",
        "template": "0x611f28ef25d778afc5a0034aea94297e2c215a42"
      }
    ],
    "tokens": [
      {
        "id": "0x0000000000000000000000000000000000000000",
        "templateId": null
      },
      {
        "id": "0x10bc742b0211ffc1393df25a7dae726eb7d8fa0c",
        "templateId": "1"
      },
      {
        "id": "0x112fec8b42676ce52d7270de18e6b4d7af707795",
        "templateId": "1"
      }
    ]
  }
}

@alexcos20 alexcos20 self-assigned this Jul 29, 2023
@alexcos20 alexcos20 merged commit 299d196 into main Aug 15, 2023
4 checks passed
@alexcos20 alexcos20 deleted the feature/templateId_handlers branch August 15, 2023 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Template id detection
1 participant