[−][src]Function iota_client::attach_to_tangle
pub fn attach_to_tangle(
uri: String,
trunk_transaction: String,
branch_transaction: String,
min_weight_magnitude: usize,
trytes: Vec<String>
) -> Result<AttachToTangleResponse, Error>
Performs proof of work
uri
- the uri used to make the requesttrunk_transaction
- trunk transaction to confirmbranch_transaction
- branch transaction to confirmmin_weight_magnitude
- Difficulty of PoWtrytes
- tryes to use for PoW