GitHub
Preparing search index...
The search index is not available
O2 SDK for TypeScript - v0.2.0
O2 SDK for TypeScript
index
Numeric
Type Alias Numeric
Numeric
:
string
|
bigint
Dual-mode numeric type for prices and quantities.
string
— Human-readable decimal (e.g.,
"0.02"
,
"100.5"
). Auto-scaled using market decimals via precise string parsing (no float intermediary).
bigint
— Raw chain integer (e.g.,
20000000n
). Passed through directly.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
O2 SDK for TypeScript - v0.2.0
Loading...
Dual-mode numeric type for prices and quantities.
string— Human-readable decimal (e.g.,"0.02","100.5"). Auto-scaled using market decimals via precise string parsing (no float intermediary).bigint— Raw chain integer (e.g.,20000000n). Passed through directly.