> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# JsonRpcPayload

```ts theme={null}
type JsonRpcPayload: {
  "id": number;
  "jsonrpc": "2.0";
  "method": string;
  "params": any[] | Record<string, any>;
};
```

A JSON-RPC payload, which are sent to a JSON-RPC server.

## Type declaration

### id

```ts theme={null}
id: number;
```

The JSON-RPC request ID.

### jsonrpc

```ts theme={null}
jsonrpc: "2.0";
```

A required constant in the JSON-RPC specification.

### method

```ts theme={null}
method: string;
```

The JSON-RPC request method.

### params

```ts theme={null}
params: any[] | Record<string, any>;
```

The JSON-RPC request parameters.

## Source

[providers/provider-jsonrpc.ts:103](https://github.com/dominant-strategies/quais.js/blob/c1c12d43f9d34c6baad2b0542bd6d0acd6fefcbf/src/providers/provider-jsonrpc.ts#L103)
