The Bank of Spain says that it will look into the implications of a central bank digital currency on the Spanish economy.