Developers
DevelopersGuides
  • Introducing Bond
    • Introduction
    • Why we build Bond?
    • Roles In Bond Ecosystem
    • Decentralised Relations/Social Graph
    • Architecture
    • Bond Reward Model
      • Leech Principle
      • Barrel Principle
  • Main Concepts
    • Bond Profile
      • Identity
      • Relationships
      • Content
      • Creator Economy
    • Connection
      • Connection NFTs
    • Bond Social Graph
    • Centralities
      • In/Out Degree Centrality
      • Betweenness Centrality
      • Closeness Centrality
      • PageRank Centrality
    • Reward Models
    • Reward Contracts
    • Off-chain Oracles
    • Gasless Mode
    • Cross Chain Messaging and Pay Gas with Bond Token
  • Bond API
    • Introduction
    • API Urls
    • Getting started with GraphQL
    • Authentication
      • Login
      • Refresh JWT
    • Profile
      • Create Profile
      • SetProfileMetadata
    • Connect
      • Connect a profile
      • Disconnect
  • Smart Contracts
    • BondHub
    • MerkelDistributor
    • TokenDeployer
    • SingleStakePoolDeployer
    • LzTokenDeployer
    • LzSingleStakePoolDeployer
  • Bond SDK
    • Bond JS SDK
      • Authenticate
      • Create Profile
      • Connect
  • Bond Nodes
    • Hardware Requirements
    • Set up and Deploy
    • Node Config (TOML)
    • Secrets Config (TOML)
    • Role-Based Access Control (RBAC)
  • References
    • Deployed Contracts
    • Github
Powered by GitBook
On this page
  • GraphQL client
  • Bond SDK
  1. Bond API

Getting started with GraphQL

PreviousAPI UrlsNextAuthentication

Last updated 1 year ago

GraphQL client

If you're already experienced with GraphQL, feel free to skip ahead to the next sections. However, for those new to GraphQL, here are some basics to get you started. A GraphQL client provides a straightforward way to interact with GraphQL endpoints. Below, we'll recommend two popular libraries to begin your querying journey with our API. But remember, these are just suggestions – choose the one that best fits your needs.

1. Apollo Client Apollo Client is a widely-used GraphQL client that offers a comprehensive suite of features. It can integrate easily with popular front-end frameworks like React, Angular, and Vue. Apollo Client allows you to fetch, cache, and modify application data while automatically keeping the user interface in sync with the data changes.

Bond SDK

To streamline and enhance the interaction with our API, we've developed the Bond SDK. This low-level TypeScript-based SDK simplifies the process of querying and managing data through our API. Along with detailed endpoint descriptions, you'll find practical examples illustrating the seamless integration of the Bond SDK with our GraphQL requests.

Apollo Client Documentation
Bond JS SDK