Internal
    • PDF

    Internal

    • PDF

    Article summary

    Internal Module 1.5.0 | Core SDK

    Overview

    Internal methods for SDK / FEE integration

    Private Methods

    View

    initialize

    This is a private RPC method.

    Initialize the SDK / FEE session.

    Parameters:

    ParamTypeRequiredDescription
    versionSemanticVersiontrueThe semantic version of the SDK.

    Result:

    InitializeResult

    Capabilities:

    RoleCapability
    usesxrn:firebolt:capability:lifecycle:initialize

    Examples

    Default Example

    JSON-RPC:

    Request:

    {
      "jsonrpc": "2.0",
      "id": 1,
      "method": "Internal.initialize",
      "params": {
        "version": {
          "major": 1,
          "minor": 0,
          "patch": 0,
          "readable": "Firebolt SDK 1.0.0"
        }
      }
    }
    

    Response:

    {
      "jsonrpc": "2.0",
      "id": 1,
      "result": {
        "version": {
          "major": 1,
          "minor": 0,
          "patch": 0,
          "readable": "Firebolt FEE 1.0.0"
        }
      }
    }
    

    Types

    InitializeResult

    type InitializeResult = {
      version: SemanticVersion // The semantic version of the FEE.
    }
    

    See also:

    SemanticVersion



    Was this article helpful?

    What's Next