[−][src]Function iota_client::get_transactions_to_approve
pub fn get_transactions_to_approve(
uri: &str,
options: GetTransactionsToApproveOptions
) -> Result<GetTransactionsToApprove, Error>
Tip selection which returns trunkTransaction
and
branchTransaction
. The input value depth determines
how many milestones to go back to for finding the
transactions to approve. The higher your depth value,
the more work you have to do as you are confirming more
transactions. If the depth is too large (usually above 15,
it depends on the node's configuration) an error will be
returned. The reference is an optional hash of a transaction
you want to approve. If it can't be found at the specified
depth then an error will be returned.