tuweni / org.apache.tuweni.stratum.server / JsonRpcRequest

JsonRpcRequest

data class JsonRpcRequest (source)

Constructors

<init>

JsonRpcRequest(version: String?, method: String, params: MutableList<Any> = mutableListOf(), id: String)

Properties

id

val id: String

method

val method: String

params

val params: MutableList<Any>

version

val version: String?

Functions

bytes

fun bytes(i: Int): Bytes

bytes32

fun bytes32(i: Int): Bytes32