lightspark 0.10.2

Lightspark Rust SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct ReleaseChannelPerCommitmentSecretInput {
    /// The unique identifier of the channel.
    pub channel_id: String,

    /// The per-commitment secret to be released.
    pub per_commitment_secret: String,

    /// The index associated with the per-commitment secret.
    pub per_commitment_index: i64,
}