- Preparing search index...
- The search index is not available
sdk-v2
Function getScalarIndexOf
- getScalarIndexOf(scalarAssetId: {
ScalarOutcome: [MarketId, "Short" | "Long"];
}): number
-
Parameters
-
scalarAssetId: {
ScalarOutcome: [MarketId, "Short" | "Long"];
}
-
ScalarOutcome: [MarketId, "Short" | "Long"]
Returns number
Get asset index of a scalar asset, short being 0 and long being 1
Returns
number