Function proofConfigToJSON

  • Converts a GPCProofConfig to a JSON-compatible representation which can be serialized directly using JSON.stringify. See JSONProofConfig for information about the format.

    Parameters

    Returns JSONProofConfig

    a JSON representation

    Throws

    if the config is invalid

Generated using TypeDoc