static Map<String, dynamic> formatJsonRpcResponse<T>( int id, T result, ) { return { 'id': id, 'jsonrpc': '2.0', 'result': result, }; }