diff --git a/src/spl/token/constants.py b/src/spl/token/constants.py index 4b81de4c..f7c8284f 100644 --- a/src/spl/token/constants.py +++ b/src/spl/token/constants.py @@ -11,6 +11,12 @@ MULTISIG_LEN: int = 355 """Data length of a multisig token account.""" +DEFAULT_DECIMALS: int = 9 +"""Standard number of decimals for SOL and wrapped SOL.""" + +LAMPORTS_PER_SOL: int = 1_000_000_000 +"""Number of lamports per SOL, where 1 SOL equals 1 billion lamports.""" + ASSOCIATED_TOKEN_PROGRAM_ID = Pubkey.from_string("ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL") """Program ID for the associated token account program."""