Need to init Web3 class before using getDecimals function.
- npm install
- npm start
- Service will be run on port 19334
ETH (Ethereum), BSC (Binance smartchain), MATIC (Polygon), SOL (Solana), AVAX (Avalance C)
- Avalanche C-Chain (AVAX): http://localhost:19334/token/decimal?ticker=avax&contractAddress=0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E
- Binance Smart Chain (BSC): http://localhost:19334/token/decimal?ticker=bsc&contractAddress=0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d
- Ethereum (ETH): http://localhost:19334/token/decimal?ticker=eth&contractAddress=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
- Polygon (MATIC): http://localhost:19334/token/decimal?ticker=matic&contractAddress=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174
- Solana (SOL): http://localhost:19334/token/decimal?ticker=sol&contractAddress=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v