def jsonrpc_result(id, result):
    return {
        'jsonrpc': '2.0',
        'result': result,
        'id': id,
    }
Create JSON-RPC result response
dataset/ETHPy150Open wcong/ants/ants/utils/jsonrpc.py/jsonrpc_result