def eth_decimals(self, unit='ether'):
    units = {'wei': 0, 'kwei': 3, 'babbage': 3, 'femtoether': 3, 'mwei': 6, 'lovelace': 6, 'picoether': 6, 'gwei': 9, 'shannon': 9, 'nanoether': 9, 'nano': 9, 'szabo': 12, 'microether': 12, 'micro': 12, 'finney': 15, 'milliether': 15, 'milli': 15, 'ether': 18, 'kether': 21, 'grand': 21, 'mether': 24, 'gether': 27, 'tether': 30}
    return self.safe_value(units, unit)
def eth_decimals(self, unit='ether'):
    units = {'wei': 0, 'kwei': 3, 'babbage': 3, 'femtoether': 3, 'mwei': 6, 'lovelace': 6, 'picoether': 6, 'gwei': 9, 'shannon': 9, 'nanoether': 9, 'nano': 9, 'szabo': 12, 'microether': 12, 'micro': 12, 'finney': 15, 'milliether': 15, 'milli': 15, 'ether': 18, 'kether': 21, 'grand': 21, 'mether': 24, 'gether': 27, 'tether': 30}
    return self.safe_value(units, unit)