toggle menu
solana-kotlin
0.2.1
common
switch theme
search in API
solana-kotlin
/
net.avianlabs.solana.client
/
Response
Response
@
Serializable
data
class
Response
<
T
>
(
val
id
:
Int
,
val
jsonrpc
:
String
,
val
result
:
T
?
=
null
,
val
error
:
RpcError
?
=
null
)
Members
Constructors
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
:
Response.RPC.Context
,
val
value
:
T
)
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