referrerpolicy=no-referrer-when-downgrade

Function connect

Source
pub async fn connect(
    node_rpc_url: &str,
) -> Result<(OnlineClient<SrcChainConfig>, RpcClient, LegacyRpcMethods<SrcChainConfig>), ClientError>
Expand description

Connect to a node at the given URL, and return the underlying API, RPC client, and legacy RPC clients.