fedimint_wallet_client::apiTrait WalletFederationApi
Source pub trait WalletFederationApi {
// Required methods
fn fetch_consensus_block_count<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = FederationResult<u64>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn fetch_peg_out_fees<'life0, 'life1, 'async_trait>(
&'life0 self,
address: &'life1 Address,
amount: Amount,
) -> Pin<Box<dyn Future<Output = FederationResult<Option<PegOutFees>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn fetch_bitcoin_rpc_kind<'life0, 'async_trait>(
&'life0 self,
peer_id: PeerId,
) -> Pin<Box<dyn Future<Output = FederationResult<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn fetch_bitcoin_rpc_config<'life0, 'async_trait>(
&'life0 self,
auth: ApiAuth,
) -> Pin<Box<dyn Future<Output = FederationResult<BitcoinRpcConfig>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn fetch_wallet_summary<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = FederationResult<WalletSummary>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}