pub struct BitcoinHelper { /* private fields */ }Implementations§
Source§impl BitcoinHelper
impl BitcoinHelper
pub fn new(config: &Config) -> Result<Self, ArchError>
pub async fn send_utxo(&self, pubkey: Pubkey) -> Result<(String, u32), String>
pub async fn send_utxo_with_amount( &self, pubkey: Pubkey, amount_sats: u64, ) -> Result<(String, u32), String>
pub async fn get_account_address_string( &self, pubkey: Pubkey, ) -> Result<String, String>
pub async fn wait_until_titan_indexes_transaction( &self, txid: &Txid, ) -> Result<(), String>
Trait Implementations§
Source§impl Clone for BitcoinHelper
impl Clone for BitcoinHelper
Source§fn clone(&self) -> BitcoinHelper
fn clone(&self) -> BitcoinHelper
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for BitcoinHelper
impl !UnwindSafe for BitcoinHelper
impl Freeze for BitcoinHelper
impl Send for BitcoinHelper
impl Sync for BitcoinHelper
impl Unpin for BitcoinHelper
impl UnsafeUnpin for BitcoinHelper
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