RpcResponse
RpcResponse<
result,error> =object&SuccessResult<result> |ErrorResult<error> |Subscription<result,error>
Defined in: packages/synapse-core/src/mocks/jsonrpc/types.ts:118
RPC response
Type Declaration
Section titled “Type Declaration”id:
number
jsonrpc
Section titled “jsonrpc”jsonrpc:
`${number}`
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
result | any |
error | any |