def eth_unit(self, decimals=18):
    units = {0: 'wei', 3: 'kwei', 6: 'mwei', 9: 'gwei', 12: 'szabo', 15: 'finney', 18: 'ether', 21: 'kether', 24: 'mether', 27: 'gether', 30: 'tether'}
    return self.safe_value(units, decimals)
def eth_unit(self, decimals=18):
    units = {0: 'wei', 3: 'kwei', 6: 'mwei', 9: 'gwei', 12: 'szabo', 15: 'finney', 18: 'ether', 21: 'kether', 24: 'mether', 27: 'gether', 30: 'tether'}
    return self.safe_value(units, decimals)