CCC Docs
GitHub
App
Docs
Playground
Preparing search index...
@ckb-ccc core
index
JsonRpcTransport
Interface JsonRpcTransport
interface
JsonRpcTransport
{
request
(
payload
:
JsonRpcPayload
,
)
:
Promise
<
JsonRpcResponse
<
unknown
,
unknown
>
>
;
}
Implemented by
JsonRpcTransportFallback
JsonRpcTransportHttp
JsonRpcTransportWebSocket
Index
Methods
request
Methods
request
request
(
payload
:
JsonRpcPayload
)
:
Promise
<
JsonRpcResponse
<
unknown
,
unknown
>
>
Sends a JSON-RPC request to the server.
Parameters
payload
:
JsonRpcPayload
The JSON-RPC payload to send.
Returns
Promise
<
JsonRpcResponse
<
unknown
,
unknown
>
>
The JSON-RPC response.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
request
GitHub
App
Docs
Playground
CCC Docs
Loading...
Sends a JSON-RPC request to the server.