Function stackmate::get_fees[][src]

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

Gets the current network fee (in sats/vbyte) for a given confirmation target.

Safety

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