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.