Prevent EVM token decimal mismatches
evm-token-decimalsskillsetup L2★0
Sheshiyer/skill-clusters ↗What it does
Resolve EVM token decimal precision from on-chain contract ABI
Best for
DeFi parsing tasks where token amounts must be normalized by contract decimals.
Inputs
- · token contract address
- · EVM chain ID
Outputs
- · decimals value (uint8)
Requires
- · RPC provider
- · ABI decoder
Preconditions
Contract deployed and verified, RPC endpoint responsive
Failure modes
contract not found, ABI missing, non-standard implementation, stale RPC
Trust signals
- · contract verification check
- · fallback chain handling