- createWeb3JsRpc(context: Pick<Context, "programs" | "transactions">, endpoint: string, rpcOptions?: Web3JsRpcOptions): RpcInterface & {
connection: Web3JsConnection;
}
-
Parameters
-
context: Pick<Context, "programs" | "transactions">
-
endpoint: string
-
Returns RpcInterface & {
connection: Web3JsConnection;
}
- createWeb3JsRpc(context: Pick<Context, "programs" | "transactions">, connection: Connection): RpcInterface & {
connection: Web3JsConnection;
}
-
Parameters
-
context: Pick<Context, "programs" | "transactions">
-
connection: Connection
Returns RpcInterface & {
connection: Web3JsConnection;
}