@statechannels/client-api-schema > JsonRpcResponse
JsonRpcResponse interface
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies response headers as per JSON-RPC 2.0 Specification
Signature:
export interface JsonRpcResponse<ResponseType = object>
Properties
Property | Type | Description |
---|---|---|
id | number | (BETA) Identifier for the response |
jsonrpc | '2.0' | (BETA) Spec version |
result | ResponseType | (BETA) The generic type of the response |