Class KleverDecoder

    Decoder for Klever blockchain data structures

    Provides utilities for decoding Protocol Buffer encoded data from the Klever blockchain into JavaScript/TypeScript data structures.

    // This is a placeholder implementation that will be extended
    const encoded = new Uint8Array([...]) // Data from blockchain
    const decoded = KleverDecoder.decode(encoded)
    // decoded contains the parsed data structure

    Constructors

    Methods

    Constructors

    Methods

    • Decodes Protocol Buffer data into JavaScript objects

      Parameters

      • _data: Uint8Array

        The Protocol Buffer encoded data to decode

      Returns unknown

      Decoded data structure

      This is currently a placeholder implementation that will be extended with full Protocol Buffer decoding capabilities.