@arkade-os/sdk Documentation - v0.4.54
    Preparing search index...

    Interface ExtensionPacket

    ExtensionPacket is the interface that all extension packets must implement. It mirrors the Go extension.Packet interface.

    interface ExtensionPacket {
        serialize(): Uint8Array;
        type(): number;
    }

    Implemented by

    Index

    Methods

    Methods

    • serialize returns the raw bytes of the packet (without type or length prefix)

      Returns Uint8Array