[][src]Function ergo_headless_dapp_framework::tx_creation::find_and_sum_other_tokens

pub fn find_and_sum_other_tokens(
    filter_tokens: &Vec<Token>,
    input_boxes: &Vec<ErgoBox>
) -> Vec<Token>

Finds all tokens held by ErgoBoxes (generally from a list of inputs), which are not in the list of filter_tokens. Once found the tokens are also summed and then returned.