uniffi_lipalightninglib

Function get_terms_and_conditions_status

source
pub fn get_terms_and_conditions_status(
    backend_url: String,
    seed: Vec<u8>,
    terms_and_conditions: TermsAndConditions,
) -> Result<TermsAndConditionsStatus>
Expand description

Allows checking if certain terms and conditions have been accepted by the user.

Parameters:

  • environment - Which environment should be used.
  • seed - The seed of the wallet.
  • terms_and_conditions - TermsAndConditions for which the status should be requested.

Returns the status of the requested TermsAndConditions.

Requires network: yes