TalentLayer Documentation
  • 👋Introduction
    • Value Proposition
    • Options for Integration
      • On-Demand Integration
      • Native Integration
    • TalentLayer's Functions
      • PlatformID
        • Fees & Economics
      • TalentLayerID
      • Reviews
      • Services
      • Escrow and Dispute
        • Dispute Workflow
        • Arbitration
          • Kleros Arbitration
          • Platform Managed Arbitration
    • Current Network Liquidity
    • Decentralization
  • ⚙️Technical Guides
    • Web 3 SDK & API
    • StarterKit Template
    • Technical Schemas
    • Network Support
    • Lower-Level Guides
      • Smart Contracts
        • Deployments
        • TalentLayerPlatformID.sol
        • TalentLayerID.sol
        • TalentLayerService.sol
        • TalentLayerReview.sol
        • Escrow & Dispute Contracts
      • The Graph
        • Introduction
        • Querying from an application
        • Queries examples
        • Implementing the pagination
      • Metadata
      • Third-Party Modules
        • Lens Protocol - Social
        • XMTP - Messaging
        • Sismo - Privacy
        • Iexec - Web3Mail
      • Messaging
        • Integrating XMTP
      • Standards
        • ERC-792: Arbitration standard
        • ERC-1497: Evidence Standard
      • How-To Guides
        • How to implement minting TalentLayer IDs?
        • How to implement the service creation?
        • How to implement the proposal creation?
        • How to implement the proposal validation?
    • Delegation
      • Meta Transaction
      • Delegate System
        • Setting
        • User workflow
        • Service creation example
        • How mintForAddress works
  • ⭐Get a Platform ID
  • 🧠Inspiration for Builders
  • 💬Contact The Team
  • 🦝Core Developer Guides
    • Subgraph Local Setup
    • Smart Contracts Local Setup
    • Advanced Documentation
    • Contract & Graph Deployment Guide
    • TalentLayer Improvement Proposals
    • Audit Report
Powered by GitBook
On this page
  • Exploring the Subgraph
  • Subgraph link
  • Playground Link
  • An Introduction to Writing GraphQL Queries for the Talent Layer Subgraph

Was this helpful?

  1. Technical Guides
  2. Lower-Level Guides
  3. The Graph

Introduction

PreviousThe GraphNextQuerying from an application

Last updated 2 years ago

Was this helpful?

Exploring the Subgraph

Subgraph link

Playground Link

To ensure that your queries are working properly before using them in your project, you can use the Graph playground below.

Please check the demo video just below

Using the playground, you can create and save your own graphQL queries and try out the default queries we provide to get you up and running!

On the right-hand side, you have access to some neat functionality that will help you explore the subgraph. Check out GraphQL Explorer as well as Documentation Explorer to create customized queries on the fly!

An Introduction to Writing GraphQL Queries for the Talent Layer Subgraph

On-chain Entity
Off-chain Entity

Service

ServiceDescription

Proposal

ProposalDescription

Review

ReviewDescription

User

UserDescription

Platform

PlatformDescription

The off-chain entity that is related to an on-chain entity can be accessed through the field description. Here is an example of what the relationship looks like in GraphQL.

{
  services {
    id
    description {
      id
    }
  }
}gr

This same pattern can be applied to other entities by simply changing services to either users, proposals, reviews, or platforms.

The most commonly used entities have a related description entity that stores the off-chain data hosted on .

⚙️
IPFS
Polygon Mumbai Testnet
Polygon mainnet
Polygon Mumbai playground
Polygon mainnet pLayground
how to test queries with The Graph Playground