Skip to main content
Version: 5.24.3

Namespace: JRPC

types.RPC.JRPC

Type Aliases​

RequestBody​

Ƭ RequestBody: Object

Type declaration​

NameType
idnumber | string
jsonrpc"2.0"
methodstring
params?{}

Defined in​

src/types/api/jsonrpc/index.ts:1


ResponseBody​

Ƭ ResponseBody: { id: number | string ; jsonrpc: "2.0" } & SuccessResponseBody | ErrorResponseBody

Defined in​

src/types/api/jsonrpc/index.ts:8


SuccessResponseBody​

Ƭ SuccessResponseBody: Object

Type declaration​

NameType
resultunknown

Defined in​

src/types/api/jsonrpc/index.ts:13


ErrorResponseBody​

Ƭ ErrorResponseBody: Object

Type declaration​

NameType
errorError

Defined in​

src/types/api/jsonrpc/index.ts:17


Error​

Ƭ Error: Object

Type declaration​

NameType
codenumber
messagestring
data?unknown

Defined in​

src/types/api/jsonrpc/index.ts:21