Form 8938 and foreign exchange rates

On my tax return I am using the yearly average IRS exchange rate for foreign income.

Do I use this as well for reporting foreign bank accounts  on Form 8938 or the  Treasury Exchange Rates required for FBARS?