@doc_metadata(categories=['<STR_LIT>', '<STR_LIT>', '<STR_LIT>'])<EOL><INDENT>def receive(self, wallet, account, block, work=None):<DEDENT>
wallet = self._process_value(wallet, '<STR_LIT>')<EOL>account = self._process_value(account, '<STR_LIT>')<EOL>block = self._process_value(block, '<STR_LIT>')<EOL>payload = {"<STR_LIT>": wallet, "<STR_LIT>": account, "<STR_LIT>": block}<EOL>if work:<EOL><INDENT>payload['<STR_LIT>'] = self._process_value(work, '<STR_LIT>')<EOL><DEDENT>resp = self.call('<STR_LIT>', payload)<EOL>return resp['<STR_LIT>']<EOL>
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"