Function stackmate::sync_balance[][src]

#[no_mangle]
pub unsafe extern "C" fn sync_balance(
    deposit_desc: *const c_char,
    node_address: *const c_char
) -> *mut c_char
Expand description

Syncs to a remote node and fetches balance of a descriptor wallet.

Safety

  • This function is unsafe because it dereferences and returns raw pointer.
  • Ensure that result is passed into cstring_free after use.