toggle menu
solana-kotlin
0.1.13
common
switch theme
search in API
solana-kotlin
/
net.avianlabs.solana.client
/
RpcResponse
Rpc
Response
@
Serializable
data
class
RpcResponse
<
T
>
(
val
id
:
Int
,
val
jsonrpc
:
String
,
val
result
:
T
?
=
null
,
val
error
:
RpcError
?
=
null
)
Members
Constructors
Rpc
Response
Link copied to clipboard
constructor
(
id
:
Int
,
jsonrpc
:
String
,
result
:
T
?
=
null
,
error
:
RpcError
?
=
null
)
Types
RPC
Link copied to clipboard
@
Serializable
data
class
RPC
<
T
>
(
val
context
:
RpcResponse.RPC.Context
?
,
val
value
:
T
?
=
null
)
Properties
error
Link copied to clipboard
val
error
:
RpcError
?
=
null
id
Link copied to clipboard
val
id
:
Int
jsonrpc
Link copied to clipboard
val
jsonrpc
:
String
result
Link copied to clipboard
val
result
:
T
?
=
null