Skip to main content

Introduction

The SDK provide a typesafe interface to interact with our GraphQL API. It is based on graphql-request and graphql-tag. It is automatically generated from our GraphQL schema, and kept up to date after each change.

Installation

Prerequisite: Please install Node.js before proceeding.
npm i -g @longdotxyz/shared @ts-rest/core graphql-tag graphql-request

Authentication

The GraphQL API is authenticated using an API key. If you need one, please contact us. You must provide the API key in the headers of your requests by using the X-API-KEY header key.
Please note that the API key might be rate limited and / or throttled.