RPCResult

case class RPCResult[T](jsonrpc: String, id: Option[Long], result: Option[T], error: Option[RPCError])

Generic RPC Response Class, used to serialize/deserialize RPC Response payloads

Type parameters:
T

Casper domaine type to be returned by the RPC request

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Constructors

def this(result: T, err: RPCError)

Custom constructor with a generic Capser Result type and an RCPError

Custom constructor with a generic Capser Result type and an RCPError

def this(result: T)
  • Custom constructor with a generic Capser Result type
def this(err: RPCError)

Custom constructor with an RCPError

Custom constructor with an RCPError

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product