Denomination
- ‘amount’ is denominated in the smallest indivisible unit of the token. For SOL, the smallest indivisible unit is lamports (10^-9 SOL). For SPL tokens, the smallest unit is defined by the token’s decimals configuration.
-
‘decimals’ is the exponential value N that satisfies the equation
amount * 10^-N = standard_denomination. The standard denomination is the most commonly used denomination for the token.- For native SOL,
decimalsis 9 (1 SOL = 10^9 lamports). - For SPL tokens,
decimalsis defined in the token’s mint configuration.
- For native SOL,