@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

PropertyTypeDescription
idnumber(BETA) Identifier for the response
jsonrpc'2.0'(BETA) Spec version
resultResponseType(BETA) The generic type of the response
Last updated on by geoknee