Create an ONC-RPC client for a given program.
Usage:
const client = createRpcClient(transport, WalletProgram);const ack = await client.call("wallet_submit", request); Copy
const client = createRpcClient(transport, WalletProgram);const ack = await client.call("wallet_submit", request);
Create a client for one generated RPC program over a transport.
Call a generated RPC method by name.
The request and response bodies are encoded and decoded with the method codecs from the supplied RpcProgramMeta.
RpcProgramMeta
Close the underlying transport.
Create an ONC-RPC client for a given program.
Usage: