blockchain-kit-sdk
Toggle table of contents
1.0.21-dev
common
Target filter
common
Switch theme
Search in API
Skip to content
blockchain-kit-sdk
blockchain-kit-sdk
/
com.cramium.blockchain.kit.blockchain.evm
/
JsonRpcObjectResponse
Json
Rpc
Object
Response
common
@
Serializable
data
class
JsonRpcObjectResponse
<
T
>
(
val
jsonrpc
:
String
=
"2.0"
,
val
id
:
Int
=
1
,
val
result
:
T
?
=
null
,
val
error
:
JsonRpcError
?
=
null
)
Generic JSON-RPC response that can handle object results (blocks, transactions, etc.)
Members
Constructors
Json
Rpc
Object
Response
Link copied to clipboard
common
constructor
(
jsonrpc
:
String
=
"2.0"
,
id
:
Int
=
1
,
result
:
T
?
=
null
,
error
:
JsonRpcError
?
=
null
)
Properties
error
Link copied to clipboard
common
val
error
:
JsonRpcError
?
id
Link copied to clipboard
common
val
id
:
Int
jsonrpc
Link copied to clipboard
common
val
jsonrpc
:
String
result
Link copied to clipboard
common
val
result
:
T
?