pub struct EmergencyExitFeeEstimateQuery {
pub vtxo_ids: Option<String>,
pub fee_rate_sat_per_vb: Option<f64>,
pub destination: Option<String>,
pub fee_margin: Option<f64>,
}Expand description
Query parameters for emergency (unilateral) exit fee estimates.
Fields§
§vtxo_ids: Option<String>Comma-separated VTXO ids to estimate the exit for. When omitted, every spendable VTXO in the wallet is used (i.e. exit the entire wallet).
fee_rate_sat_per_vb: Option<f64>The fee rate to price the estimate at, in sat/vB (fractions allowed). Applied to both the
broadcast and claim legs. When omitted, the broadcast leg uses the current fast rate and
the claim leg the regular rate.
destination: Option<String>The destination address for the claim. Only affects the claim-fee weight; when omitted a placeholder of the configured network is used.
fee_margin: Option<f64>Scales the broadcast leg to cover feerate movement and UTXO consolidation. Must be finite and non-negative; defaults to 1.2.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EmergencyExitFeeEstimateQuery
impl<'de> Deserialize<'de> for EmergencyExitFeeEstimateQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EmergencyExitFeeEstimateQuery
impl RefUnwindSafe for EmergencyExitFeeEstimateQuery
impl Send for EmergencyExitFeeEstimateQuery
impl Sync for EmergencyExitFeeEstimateQuery
impl Unpin for EmergencyExitFeeEstimateQuery
impl UnsafeUnpin for EmergencyExitFeeEstimateQuery
impl UnwindSafe for EmergencyExitFeeEstimateQuery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request