code: def receive(self, wallet, account, block, work=None):
          
  
          wallet = self._process_value(wallet, 'wallet')
          account = self._process_value(account, 'account')
          block = self._process_value(block, 'block')
  
          payload = {"wallet": wallet, "account": account, "block": block}
  
          if work:
              payload['work'] = self._process_value(work, 'work')
  
          resp = self.call('receive', payload)
  
          return resp['block']
docs: Receive pending **block** for **account** in **wallet**
  
          .. enable_control required
  
          :param wallet: Wallet of account to receive block for
          :type wallet: str
  
          :param account: Account to receive block for
          :type account: str
  
          :param block: Block hash to receive
          :type block: str
  
          :param work: If set, uses this work for the receive block
          :type work: str
  
          :raises: :py:exc:`nano.rpc.RPCException`
  
          >>> rpc.receive(
          ...     wallet="000D1BAEC8EC208142C99059B393051BAC8380F9B5A2E6B2489A277D81789F3F",
          ...     account="xrb_3e3j5tkog48pnny9dmfzj1r16pg8t1e76dz5tmac6iq689wyjfpi00000000",
          ...     block="53EAA25CE28FA0E6D55EA9704B32604A736966255948594D55CBB05267CECD48",
          ...     work="12041e830ad10de1"
          ... )
          "EE5286AB32F580AB65FD84A69E107C69FBEB571DEC4D99297E19E3FA5529547B"