> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# JSONRPCResponse<TResult>

> Union of JSON-RPC success and error response shapes.

```ts
type JSONRPCResponse<TResult> = JSONRPCSuccessResponse<TResult> | JSONRPCErrorResponse
```

## **Type Parameters**

| Type Parameter | Default type |
| -------------- | ------------ |
| `TResult`      | `unknown`    |