Function getScalarIndexOf

  • Get asset index of a scalar asset, short being 0 and long being 1

    Returns

    number

    Parameters

    • scalarAssetId: {
          ScalarOutcome: [MarketId, "Short" | "Long"];
      }

      ScalarAssetId

      • ScalarOutcome: [MarketId, "Short" | "Long"]

    Returns number

Generated using TypeDoc