update documentation of get_coins_amount