[][src]Function iota_client::get_inclusion_states

pub fn get_inclusion_states(
    uri: &str,
    options: GetInclusionStatesOptions
) -> Result<GetInclusionStatesResponse, Error>

Get the inclusion states of a set of transactions. This is for determining if a transaction was accepted and confirmed by the network or not. You can search for multiple tips (and thus, milestones) to get past inclusion states of transactions.

This API call simply returns a list of boolean values in the same order as the transaction list you submitted, thus you get a true/false whether a transaction is confirmed or not.