<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def krai_to_raw(self, amount):
 """ Multiply an krai amount by the krai ratio. :param amount: Amount in krai to convert to raw :type amount: int :raises: :py:exc:`nano.rpc.RPCException` 1000000000000000000000000000 """


        amount = self._process_value(amount, 'int')

        payload = {"amount": amount}

        resp = self.call('krai_to_raw', payload)

        return int(resp['amount'])