clementine_core::rpc::parser::operator

Function parse_details

Source
pub async fn parse_details(
    stream: &mut Streaming<OperatorParams>,
) -> Result<(OutPoint, XOnlyPublicKey, Address<NetworkUnchecked>), Status>
Expand description

Parses operator configuration from a given stream.

§Returns

A tuple, containing:

  • Operator index
  • Collateral Funding txid
  • Operator’s X-only public key
  • Wallet reimburse address