APIs
Klayr node RPC API Klayr Service HTTP API Klayr Service RPC API Klayr Service Pub/Sub API
Explorers
Klayr Explorer
Products
Klayr SDK Klayr Service Klayr Core Klayr Wallets
Klayr Core Klayr Documentation Klayr SDK Klayr Service
  • Klayr Documentation
  • APIs
  • Klayr Service APIs
  • HTTP API (Klayr Service)
Edit this Page

Klayr Documentation

    • Introduction
      • What is blockchain?
      • How blockchain works
      • Blockchain Scalability
      • Klayr products
      • Blockchain Interoperability
    • Understand Klayr Blockchain
      • State machine
      • Consensus protocols
        • Proof of Stake (PoS) & Proof of Authority (PoA) in Klayr
      • Network
      • Mainchain
      • Klayr Interoperability
        • Cross-chain communication
        • Sidechain Registration & Recovery
      • Blocks and Transactions
      • Klayr SDK
        • Modules and Commands
        • Plugins
        • Communicating to a Klayr node via RPC
        • Schemas & Codec
    • Build Blockchain
      • Creating a new blockchain client
      • Blockchain client configuration
      • How to create a module
        • 1. How to create a module configuration
        • 2. How to create stores
        • 3. How to create a command
        • 4. How to create endpoints and methods
        • 5. How to create a blockchain event
      • How to create a plugin
        • 1. Defining off-chain data structures
        • 2. Setting up an Off-chain database
        • 3. Configuring a Plugin
        • 4. Updating the Plugin Class
        • 5. Creating an endpoint & Testing the plugin
      • Using the Dashboard with a blockchain client
      • How to enable a Faucet for testing
      • How to create a new genesis block
      • How to register a sidechain
      • How to implement cross-chain communication
        • How to create a CCM
        • How to execute a CCM
      • Testing the blockchain application
    • Run Blockchain
      • Process management with PM2
      • Managing accounts
      • How to become a validator
      • How to stake and un-stake tokens
      • How to enable/disable block generation
      • How to share block rewards
      • Setting up a relayer node
      • Resetting and snapshotting the blockchain
      • How to enable the "Report Misbehavior" plugin
      • How to enable the Monitor plugin
      • Managing logs
    • Integrate Blockchain
      • Connecting via endpoints
      • Retrieving on-chain events
      • Transaction creation, signing, and posting
        • How to create and sign a transaction
        • Creating transactions and signing them offline
        • How to create multi-signature accounts and transactions
        • Creating and signing a multi-signature transaction (Offline)
        • How to calculate the minimum fee for a transaction
        • How to post a transaction
      • Decoding & encoding data
      • How to overwrite a transaction in the transaction pool
      • Integrating a user interface
        • 1. Handling accounts
        • 2. Using faucet and transferring tokens
        • 3. Sending and retrieving hello
      • Aggregate blockchain data with Klayr Service
        • Extending the Indexer microservice
    • APIs
      • RPC API for Klayr nodes
      • Module RPC APIs
        • Auth module: Endpoint reference
        • Dynamic Reward module: Endpoint reference
        • Fee module: Endpoint reference
        • Sidechain Interoperability module: Endpoint reference
        • Mainchain Interoperability module: Endpoint reference
        • Token module: Endpoint reference
        • Validators module: Endpoint reference
        • Random module: Endpoint reference
        • Proof of Stake module: Endpoint reference
      • Plugin RPC APIs
        • Chain Connector plugin: Endpoint reference
      • Klayr Service APIs
        • RPC API of Klayr Service
        • HTTP API (Klayr Service)
        • Publish/Subscribe API (Klayr Service)
        • Klayr Service API v2 vs v3
    • Products
      • Klayr SDK
      • Klayr Service
      • Klayr Core
    • Klayr Bug Bounty Program
Klayr Documentation default
  • Klayr Core
    • 4.0 (latest)
  • Klayr Documentation
    • default
  • Klayr SDK
    • 6.0 (latest)
  • Klayr Service
    • 0.7 (latest)
RPC API of Klayr Service Publish/Subscribe API (Klayr Service)

© 2024 Klayr

Discord

GitHub