Forbole DevTools Docs
  • RPC/API Documentation
    • 👋 Welcome
    • 🧭 Guide to RPC
      • 🌐 Endpoints
        • Authentication
        • gRPC
          • Kaspa
        • ↕️RPC
          • Akash
          • Arbitrum
          • Base
          • Celer
          • Ethereum
          • Optimism
          • Quasar
          • Sui
        • 🔃REST
          • Agoric
          • Akash
          • Celer
          • Quasar
        • 🔌Websocket
          • Kaspa
      • 📰Plans
        • 🆓Free Plan
        • 💵Pay as You Go
          • ⬆️Query requests top up
        • 🏦Enterprise
      • ⚙️Settings
        • 🔑 Regenerate API key
        • ⛔️ IP Allowlist
  • Contact Us
    • Forbole Website
    • Discord
    • Github
    • Telegram
    • X
Powered by GitBook
On this page
  • Introduction
  • How to Interact

Was this helpful?

  1. RPC/API Documentation
  2. 🧭 Guide to RPC
  3. 🌐 Endpoints
  4. gRPC

Kaspa

Last updated 5 months ago

Was this helpful?

Introduction

The is a high-performance, proof-of-work (PoW) cryptocurrency designed for scalability and fast transaction processing. It utilizes a unique data structure called a blockDAG (Directed Acyclic Graph), which allows multiple blocks to be created and processed in parallel rather than a traditional linear chain. This architecture makes Kaspa capable of handling high transaction throughput while maintaining robust security.

Key features of Kaspa include:

  • Fast Block Times: Blocks are generated every second, enabling rapid transaction confirmation.

  • Scalability: The blockDAG structure improves scalability compared to traditional blockchains.

  • Decentralization: Maintains a high level of decentralization through PoW consensus.

  • Fair Launch: No premine or ICO; it was launched fairly through mining.

Kaspa is designed to provide an efficient, decentralized solution for payments and value transfer while addressing the scalability issues faced by many first-generation blockchains.

How to Interact

  1. Get the proto files needed to define the gRPC service:

  2. Place them into a folder together, e.g. /proto

  3. Test the query as follows:

grpcurl \
  -import-path ./proto \
  -proto messages.proto \
  -d '{"id":1, "getSystemInfoRequest":{}}' \
  -H "apiKey: {apiKey}" \
  grpc-mainnet-kaspa-fullnode.forbole.com:443 \
  protowire.RPC/MessageStream

Response example

{
  "id": "0",
  "getSystemInfoResponse": {
    "version": "v0.15.2",
    "systemId": "9f8c1251188557a6201ee1177afc31bd12a3064c8ea14c6d2c8c8ae60f0e8e62",
    "gitHash": "",
    "coreNum": 4,
    "totalMemory": "8326074368",
    "fdLimit": 65535,
    "proxySocketLimitPerCpuCore": 0,
    "error": null
  }
}

Get your API Key from .

Download and install a grpc client, like

Forbole's RPC
messages.proto
rpc.proto
grpcurl
Kaspa blockchain
Kaspa Logo
Kaspa Logo
DevTools Endpoints