@main.command()<EOL>@click.pass_context<EOL>@onlineChain<EOL>@click.argument(<EOL>'<STR_LIT>',<EOL>nargs=<NUM_LIT:1>)<EOL>@click.argument(<EOL>'<STR_LIT>',<EOL>nargs=-<NUM_LIT:1>)<EOL>@click.option(<EOL>"<STR_LIT>",<EOL>default="<STR_LIT>",<EOL>help="<STR_LIT>",<EOL>type=str)<EOL>def rpc(ctx, call, arguments, api):
try:<EOL><INDENT>data = list(eval(d) for d in arguments)<EOL><DEDENT>except:<EOL><INDENT>data = arguments<EOL><DEDENT>ret = getattr(ctx.peerplays.rpc, call)(*data, api=api)<EOL>pprint(ret)<EOL>
Construct RPC call directly
        \b
        You can specify which API to send the call to:

            peerplays rpc --api bookie get_matched_bets_for_bettor 1.2.0

        You can also specify lists using

            peerplays rpc get_objects "['2.0.0', '2.1.0']"