hopli::methods

Function get_native_and_token_balances

Source
pub async fn get_native_and_token_balances<M: Middleware>(
    hopr_token: HoprToken<M>,
    addresses: Vec<Address>,
) -> Result<(Vec<U256>, Vec<U256>), MulticallError<M>>
Expand description

Get native balance and hopr token balance for given addresses