Skip to main content

index/type-aliases/Amount.md

Amount = string

Decimal string representing a token amount

Used consistently throughout the SDK for token quantities, prices, and fees. Always a string to preserve precision for large numbers and avoid floating point issues.

Example​

const amount: Amount = "1000000.123456789";
const price: Amount = "0.000001";

Since​

6.10.0