[][src]Function iota_client::attach_to_tangle

pub fn attach_to_tangle(
    uri: &str,
    options: AttachOptions
) -> Result<AttachToTangleResponse, Error>

Performs proof of work

  • uri - the uri used to make the request
  • trunk_transaction - trunk transaction to confirm
  • branch_transaction - branch transaction to confirm
  • min_weight_magnitude - Difficulty of PoW
  • trytes - tryes to use for PoW