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`

        >>> rpc.krai_to_raw(amount=1)
        1000000000000000000000000000

        """

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

        payload = {"amount": amount}

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

        return int(resp['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`

        >>> rpc.krai_to_raw(amount=1)
        1000000000000000000000000000