@doc_metadata(categories=['<STR_LIT>'])<EOL><INDENT>def process(self, block):<DEDENT>
if isinstance(block, dict):<EOL><INDENT>block = json.dumps(block, sort_keys=True)<EOL><DEDENT>payload = {"<STR_LIT>": block}<EOL>resp = self.call('<STR_LIT>', payload)<EOL>return resp['<STR_LIT>']<EOL>
Publish **block** to the network

:param block: Block to publish
:type block: dict or json

:raises: :py:exc:`nano.rpc.RPCException`

>>> block = {
    "account": "xrb_3e3j5tkog48pnny9dmfzj1r16pg8t1e76dz5tmac6iq689wyjfpi00000000",
    "work": "0000000000000000",
    "source": "FA5B51D063BADDF345EFD7EF0D3C5FB115C85B1EF4CDE89D8B7DF3EAF60A04A4",
    "representative": "xrb_3e3j5tkog48pnny9dmfzj1r16pg8t1e76dz5tmac6iq689wyjfpi00000000",
    "signature": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "type": "open"
}

>>> rpc.process(block=block)
"42A723D2B60462BF7C9A003FE9A70057D3A6355CA5F1D0A57581000000000000"

>>> rpc.process(json.dumps(block))
"42A723D2B60462BF7C9A003FE9A70057D3A6355CA5F1D0A57581000000000000"