jsonRpcRequest
jsonRpcRequest(
id,payload):object
Defined in: packages/dapp/src/messages/schemas.ts:149
Create a JSON-RPC request object
Parameters
Section titled “Parameters”string | number | null
payload
Section titled “payload”method
Section titled “method”string = ...
params?
Section titled “params?”Record<string, unknown> | unknown[] = ...
Returns
Section titled “Returns”object
optionalid:string|number|null
jsonrpc
Section titled “jsonrpc”jsonrpc:
"2.0"
method
Section titled “method”method:
string
params?
Section titled “params?”
optionalparams:Record<string,unknown> |unknown[]