code: def getbalance(self, address: str) -> Decimal:
          '''Returns current balance of given address.'''
  
          try:
              return Decimal(cast(float, self.ext_fetch('getbalance/' + address)))
          except TypeError:
              return Decimal(0f getbalance(self, address: str) -> Decimal:
          '''Returns current balance of given address.'''
  
          try:
              return Decimal(cast(float, self.ext_fetch('getbalance/' + address)))
          except TypeError:
              return Decimal(0)
docs: Returns current balance of given address.