pub struct EmergencyExitFeeEstimateResponse {
pub exit_broadcast_fee: Amount,
pub claim_fee: Amount,
pub total_fee: Amount,
pub fee_rate_sat_per_vb: u64,
pub txs_to_broadcast: usize,
pub fundable: bool,
}Expand description
A fee breakdown for unilaterally (emergency) exiting a set of VTXOs.
Fields§
§exit_broadcast_fee: AmountThe CPFP fees to broadcast every not-yet-confirmed exit transaction (in satoshis). Paid now from confirmed on-chain funds.
claim_fee: AmountThe fee for the single batched transaction that drains the matured exit outputs (in satoshis). Paid later out of the recovered value.
total_fee: AmountThe sum of the broadcast and claim fees (in satoshis).
fee_rate_sat_per_vb: u64The fee rate the exit-broadcast leg was priced at (sat/vB). Unless an explicit fee rate was
supplied, the claim leg is priced separately at the chain’s regular rate.
txs_to_broadcast: usizeThe number of exit transactions that still need to be broadcast and CPFP-bumped.
fundable: boolWhether the wallet’s current on-chain balance covers the full serial exit-broadcast walk.
Trait Implementations§
Source§impl Clone for EmergencyExitFeeEstimateResponse
impl Clone for EmergencyExitFeeEstimateResponse
Source§fn clone(&self) -> EmergencyExitFeeEstimateResponse
fn clone(&self) -> EmergencyExitFeeEstimateResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for EmergencyExitFeeEstimateResponse
impl<'de> Deserialize<'de> for EmergencyExitFeeEstimateResponse
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
Source§impl From<ExitFeeEstimate> for EmergencyExitFeeEstimateResponse
impl From<ExitFeeEstimate> for EmergencyExitFeeEstimateResponse
Source§fn from(e: ExitFeeEstimate) -> Self
fn from(e: ExitFeeEstimate) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EmergencyExitFeeEstimateResponse
impl RefUnwindSafe for EmergencyExitFeeEstimateResponse
impl Send for EmergencyExitFeeEstimateResponse
impl Sync for EmergencyExitFeeEstimateResponse
impl Unpin for EmergencyExitFeeEstimateResponse
impl UnsafeUnpin for EmergencyExitFeeEstimateResponse
impl UnwindSafe for EmergencyExitFeeEstimateResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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