Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IRpcResponse

Interface for JSON-RPC 2.0 responses (https://www.jsonrpc.org/specification#response_object)

Hierarchy

  • IRpcResponse

Index

Properties

Properties

Optional error

error: IRpcError

Error that occurred during the execuetion of the RPC call.

id

id: string | number | null

Identifier whose value corresponds to the one given in the RPC request.

jsonrpc

jsonrpc: string

A String specifying the version of the JSON-RPC protocol. MUST be exactly "2.0".

Optional result

result: any[] | any

Result of the RPC call on successful execution.