@solana/rpc-graphql
TypeScript icon, indicating that this package has built-in type declarations

2.0.0-experimental.4366e2e • Public • Published

@solana/rpc-graphql

This package defines a GraphQL client resolver built on top of the Solana JSON-RPC.

Solana & GraphQL

GraphQL is a query language for your API, and a server-side runtime for executing queries using a type system you define for your data.

graphql-icon GraphQL

This library attempts to define a type system for Solana. With the proper type system, developers can take advantage of the best features of GraphQL to make interacting with Solana via RPC smoother, faster, more reliable, and involve less code.

Design

⚠️ In Development: The API's query/schema structure may change as the API matures.

With the exception of many familiar RPC methods for obtaining information about a validator or cluster, majority of Solana data required by various applications revolves around two components:

  • Accounts
  • Blocks

One can add a third component found within a block:

  • Transactions

With these three main components in mind, consider a GraphQL type system that revolves around accounts, blocks, and transactions.

Types

Coming soon!

Account

Coming soon!

Queries

Coming soon!

Accounts

Coming soon!

Program Accounts

Coming soon!

Blocks

Coming soon!

Transactions

Coming soon!

Readme

Keywords

Package Sidebar

Install

npm i @solana/rpc-graphql

Weekly Downloads

435

Version

2.0.0-experimental.4366e2e

License

MIT

Unpacked Size

4.79 MB

Total Files

20

Last publish

Collaborators

  • nickfrosty
  • mcintyre94
  • 2501babe
  • lorisleiva
  • buffalojoec
  • ngundotra
  • _chido
  • steveluscher
  • seanyoung
  • tyera
  • joncinque
  • ryoqun
  • trent-solana
  • jordansexton